Re: problems with script

2004-04-13 Thread Larry Hall
At 09:58 PM 4/13/2004, you wrote: >Hmmm...The good new is that I am no longer getting >error messages. The bad news is that nothing seems to >be ending up in the file. I created a file called >disk_storage in vi. Then I did the following: > >(date; du ~) >> ~/disk_storage > >This put some text i

Re: problems with script

2004-04-13 Thread Christopher Spears
Hmmm...The good new is that I am no longer getting error messages. The bad news is that nothing seems to be ending up in the file. I created a file called disk_storage in vi. Then I did the following: (date; du ~) >> ~/disk_storage This put some text into the file. Then I ran: (date; du ~) |

RE: problems with script

2004-04-13 Thread Ross Boulet
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Spears > [ ... ] > > > > > > #get argument name > > > set dest = $argv[1] [ ... ] > > > following command line: > > > (date; du ~) | ./ppd.txt ~/disk_storage& > > > [ ... ] > > I changed the first line to "!/bin/tcsh -x",

Re: problems with script

2004-04-13 Thread Igor Pechtchanski
On Tue, 13 Apr 2004, Christopher Spears wrote: > --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: ^^^ > > On Tue, 13 Apr 2004, Christopher Spears wrote: > > > > > I created the following script: > > > > > > #!/bi

Re: problems with script

2004-04-13 Thread Christopher Spears
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > On Tue, 13 Apr 2004, Christopher Spears wrote: > > > I created the following script: > > > > #!/bin/tcsh > > > > #csh script to prepend standard input to file > argument > > #Version 1 > > > > #name temp file > > set tf = /tmp/ppd.$$ > > > > #get

Re: problems with script

2004-04-13 Thread Igor Pechtchanski
On Tue, 13 Apr 2004, Christopher Spears wrote: > I created the following script: > > #!/bin/tcsh > > #csh script to prepend standard input to file argument > #Version 1 > > #name temp file > set tf = /tmp/ppd.$$ > > #get argument name > set dest = $argv[1] > > #copy standard input, $dest to $tf >