east_or_west

Output whether you east (E) or west (W) of the meridian based on the input azimuth (in degrees) value.


% east_or_west --help   
Help Information for:  east_or_west

Usage: east_or_west 120.33 
arg1 - azimuth 

I will show: /home/sco/sco/codes/bash/HELP_FILES/east_or_west.help

Enter any key to roceed with the view of help: 

east_or_west:
  Assign a character string "E" or "W" telling the direction 
  (relative to meridian) based on the azimuth. 

% east_or_west 92.0   
E

% east_or_west 270.0   
W





Back to SCO CODES page