Subject: Re: shell script
To: Jean-Francois Fortier <jffortier@cgocable.ca>
From: Chris Roger <croger@dibbledop.com>
List: port-mac68k
Date: 03/03/2000 10:35:40
At 11:14 AM 3/3/00 -0500, you wrote:
>Hi everyone,
>
>    Excuse me , I know it's not mac68k specific question... I just want
>to know if  it's possible to redirect the output of a command in a
>variable in a csh script ? I read all the csh man page and I'm still
>stuck...
>
>date | awk {'print 1$'} |   ???? to put it in a variable .
>

You'd do it this way:

$var = `date | awk {'print 1$'}`


-Chris
eDoppler.com

__/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/
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!