From: N. Z. (nizan1372@yahoo.com)
Date: Thu Apr 29 2004 - 18:29:39 EDT
hello...
printf doesn't seem to work with /bin/sh on my
solaris9 box. i tried it from the command line in tcsh
and that worked. so for a tcsh script, how then do i
read in user input? usually i use /bin/sh and do this:
input_script:
- - - - - -
#! /bin/sh
echo "helo:"
read AA
echo $AA
- - - - - - -
> input_script
helo:
asdfasdf
asdfasdf
but if i switch #! /bin/sh to #! /bin/tcsh:
> input_script
helo:
aasdasdf
AA: Undefined variable.
this is probably trivial, but i started to read the
man page for tcsh and haven't come across the answer
yet.
thanks...
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:34 EDT