#!/bin/bashdeclare gps=(n s e w);if[[$((${1}%2))= 0 ]];then
for(( i =${1}; i >= 0; i-=2 ));do
echo${gps[$(($RANDOM%3))]};done;else
echo"Sorry, you cannot generate way";fi
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
BASH