This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems with script


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 ~) | ./ppd.txt ~/disk_storage

And nothing was prepended to the file!  I did get the
following:

set tf = /tmp/ppd.1568
set dest = /home/Christopher Spears/disk_storage
cat - /home/Christopher Spears/disk_storage

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]