On Wed, Jan 07, 2004 at 03:02:30PM -0500, Kevin Mark wrote:
| On Wed, Jan 07, 2004 at 01:55:29PM -0500, Rick Pasotto wrote:
| > On Wed, Jan 07, 2004 at 12:42:33PM -0600, Rick Weinbender wrote:
| > > Is there a command to flush or empty the contents
| > > of a file?
| > > I would like the empty file
On Wed, Jan 07, 2004 at 01:55:29PM -0500, Rick Pasotto wrote:
> On Wed, Jan 07, 2004 at 12:42:33PM -0600, Rick Weinbender wrote:
> > Is there a command to flush or empty the contents
> > of a file?
> > I would like the empty file to retain it's attributes and rights.
>
> cat /dev/null > file
>
Hi
On Wed, 07 Jan 2004 12:42:33 -0600, Rick Weinbender wrote:
> Is there a command to flush or empty the contents
> of a file?
> I would like the empty file to retain it's attributes and rights.
>
> Thanks,
> -Rick
Simple:
>file
where "file" is your filename.
man bash
/^REDIRECTION
for more inf
On Wed, 07 Jan 2004 12:42:33 -0600 Rick Weinbender wrote:
> Is there a command to flush or empty the contents
> of a file?
> I would like the empty file to retain it's attributes and rights.
$ >file
Morten
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Tr
On Wed, 07 Jan 2004 at 18:42 GMT, Rick Weinbender penned:
> Is there a command to flush or empty the contents of a file? I would
> like the empty file to retain it's attributes and rights.
>
> Thanks, -Rick
>
>
cat /dev/null > filename
--
monique
--
To UNSUBSCRIBE, email to [EMAIL PROTEC
Rick Pasotto wrote:
> On Wed, Jan 07, 2004 at 12:42:33PM -0600, Rick Weinbender wrote:
> > Is there a command to flush or empty the contents
> > of a file?
> > I would like the empty file to retain it's attributes and rights.
>
> cat /dev/null > file
>
> --
> The choices a man makes are determin
On Wed, Jan 07, 2004 at 12:42:33PM -0600, Rick Weinbender wrote:
> Is there a command to flush or empty the contents
> of a file?
> I would like the empty file to retain it's attributes and rights.
I don't know about a program, but this is how to do it in perl:
#!/usr/bin/perl
if(!$ARGV[0]){
p
On Wed, Jan 07, 2004 at 12:42:33PM -0600, Rick Weinbender wrote:
> Is there a command to flush or empty the contents
> of a file?
> I would like the empty file to retain it's attributes and rights.
cat /dev/null > file
--
The choices a man makes are determined by the ideas that he adopts
The
Is there a command to flush or empty the contents
of a file?
I would like the empty file to retain it's attributes and rights.
Thanks,
-Rick
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
9 matches
Mail list logo