[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: csh, date, numbers
* john <email@example.com> [010122 22:28]:
> set month = 'date +%m'
> echo $month
I think you want `` instead of ''. (I haven't touched csh in a long
time, I don't know for sure. :)
> When I do this, I get a syntax error. How do I
> make this assignment. Also, is there a way to
> convert text to a numeric value directly from
> one or more of the shell commands, or is the
> only way to do it by writing a c program?
The easiest way I know is by using perl. Sort of like C, but often
faster to program. :)
``Oh Lord; Ooh you are so big; So absolutely huge; Gosh we're all
really impressed down here, I can tell you.''