Jan-- > echo -n > myfile > > this tells 'echo' not to follow the (empty) string with a newline, so > the resulting file is zero length. Aha! Just what I didn't know I was looking for! This command is my new nominee for best way to do it. -- Dan Ray Director Custom Applications Triangle Research, Inc. http://www.triangleresearch.com
- [newbie] deleting contents of a file Craig Westerman
- Re: [newbie] deleting contents of a file Tim Holmes
- Re: [newbie] deleting contents of a file Dan Ray
- RE: [newbie] deleting contents of a file Franki
- RE: [newbie] deleting contents of a file Jose M. Sanchez
- Re: [newbie] deleting contents of a file Dan Ray
- Re: [newbie] deleting contents of a file Jan Wilson
- Dan Ray