[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: truncating files



On Sun, 7 Dec 1997, Carl Mummert wrote:

> Summary:
> 
> 1) > foo
> 2) cp /dev/null foo
> 
> Problems:

> 2) cp /dev/null foo won't take multiple filenames as arguments

> So the answer is that I do need a script or program to do the job.

What about:

rm -f {list of filenames}
touch {list of filenames}

...RickM...



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: