Subject: Re: shell script
To: Ken Nakata <kenn@synap.ne.jp>
From: Chris Roger <croger@dibbledop.com>
List: port-mac68k
Date: 03/03/2000 10:54:24
At 01:41 AM 3/4/00 +0900, Ken Nakata wrote:
>On Fri, 03 Mar 2000 10:35:40 -0600, Chris Roger <croger@dibbledop.com> wrote:
>> $var = `date | awk {'print 1$'}`
>
>Um, looks more like a line from a perl script to me than a csh
>script... Does it really work with csh?
>
Not the way I wrote it... I'm used to ksh.
It should be:
set var = `date | awk {'print 1$'}`
Then you could test it by:
echo $var
-Chris
__/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/
Chris Roger, mailto:croger@edoppler.com
Website Performance Monitoring
Make sure your web site is a top performer!
http://www.edoppler.com/ We Watch the Web!