Re: writing csh scripts with cygwin

2004-04-08 Thread Igor Pechtchanski
On Thu, 8 Apr 2004, Christopher Spears wrote: > I've been writing some csh scripts with cygwin and > encountering a lot of problems. I will admit that I > am just learning, but I copied the scripts directly > from the book! I checked out the FAQ, and I am > wondering if the reason why the script

Re: writing csh scripts with cygwin

2004-04-08 Thread Brian Ford
On Thu, 8 Apr 2004, Christopher Spears wrote: > I've been writing some csh scripts with cygwin and > encountering a lot of problems. I will admit that I > am just learning, but I copied the scripts directly > from the book! I checked out the FAQ, and I am > wondering if the reason why the script

Re: writing csh scripts with cygwin

2004-04-08 Thread Larry Hall
At 03:02 PM 4/8/2004, you wrote: >I've been writing some csh scripts with cygwin and >encountering a lot of problems. I will admit that I >am just learning, but I copied the scripts directly >from the book! I checked out the FAQ, and I am >wondering if the reason why the scripts are not >working

Re: writing csh scripts with cygwin

2004-04-08 Thread friedman_hill ernest j
I think Christopher Spears wrote: > #csh that gives system status > > set d = `date` > echo "Today's date: $d[2-3] $d[6]" > echo "Current time: $d[4]" > echo Number of users: `who | wc -l` > echo Current disk storage: ` du -s .` > You need to include a #!/bin/tcsh line at the top of the scri

writing csh scripts with cygwin

2004-04-08 Thread Christopher Spears
I've been writing some csh scripts with cygwin and encountering a lot of problems. I will admit that I am just learning, but I copied the scripts directly from the book! I checked out the FAQ, and I am wondering if the reason why the scripts are not working are that they are being interpreted by