Re: emptying files

2000-02-17 Thread Giovanni
This message was sent from Geocrawler.com by "Giovanni" <[EMAIL PROTECTED]> Be sure to reply to that address. try this: for x in *.* do cat $x done Geocrawler.com - The Knowledge Archive

Re: Emptying files

2000-02-16 Thread Peter Palfrader aka Weasel
On Wed, Feb 16, 2000 at 02:44:11PM -0500, [EMAIL PROTECTED] wrote: > I need a utility that will take a list of files using standard wildcards > and empty their contents, but not deleting them. Has anyone stumbled on > something like this? Thanks a bunch. how about for i in do

Re: Emptying files

2000-02-16 Thread dan
On Wed, Feb 16, 2000 at 09:09:43PM +0100, Armin Joellenbeck generated a stream of 1s and 0s: > Try the shell command echo: > > echo -n '' > file > > This redirect the empty string into file. The option -n avoids > the default printed newline, so the file is really empty. > > for x i

Re: Emptying files

2000-02-16 Thread Armin Joellenbeck
> I need a utility that will take a list of files using standard wildcards > and empty their contents, but not deleting them. Has anyone stumbled on > something like this? Thanks a bunch. Try the shell command echo: echo -n '' > file This redirect the empty string into file. The option

Emptying files

2000-02-16 Thread dan
I need a utility that will take a list of files using standard wildcards and empty their contents, but not deleting them. Has anyone stumbled on something like this? Thanks a bunch. -- Get the truth or risk frying your brains! --> www.truthinlabeling.org <--