#!/bin/csh -f
#+
# az -- move the telescope x arcsec in azimuth
#
# Purpose:
#	Move the telescope the given number of arcseconds in the
#	azimuth direction.
#
# Usage:
#	az x
# 
# Arguments:
#	x = distance to move [arcsec]
# 
# Output:
# 
# Restrictions:
#	- "x" must be a real value
# 
# Exit values:
#	 0 = normal completion
#	 1 = wrong number of arguments
#
# Example:
#	1) Move the telescope 10 arcseconds in the positive azimuth direction:
#		az 10
#
#	2) Move the telescope 10 arcseconds in the negative azimuth direction:
#		az -10
#
#-
# Modification history:
#	Date unknown	RWG	Original version
#	2000-Jul-05	GDW	Added documentation
#	2013-Oct-05	GDW	Replace guts with a call to azel
#-----------------------------------------------------------------------

# check args...
if (${#argv} != 1) then
  echo "Usage: az x"
  exit 1
endif

set x = $1

# do move...
exec azel $x 0
