[mail_lists] Re: cleaning out files

Stijn Hoop stijn at win.tue.nl
Fri Apr 4 03:16:23 PST 2003

On Fri, Apr 04, 2003 at 03:00:52AM -0800, Jim wrote:
> The best way is simply doing:
> bash]$ > filename
> This clears the file out without destroying any open file descriptors on the 
> file.

Does echo -n 'destroy' an open file descriptor on the file? Does the above
work with other shells?

Just curious,


What would this sentence be like if it weren't self-referential?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030404/ac84ca63/attachment.bin

More information about the freebsd-questions mailing list