Re: empty the file

2010-03-15 Thread glenn opdycke-hansen
l, not of cat. > > You could use > > > > or > > > > > > > > > > > Regards, > > Antoine > > > dr_jym wrote: > > I am using Ant 1.7.0 not Ant 1.7.1 that has "truncate&quo

Re: empty the file

2010-03-15 Thread Antoine Levy-Lambert
Hi, redirection is a feature of the shell, not of cat. You could use or Regards, Antoine dr_jym wrote: > I am using Ant 1.7.0 not Ant 1.7.1 that has "truncate" task. > I have to empty th

empty the file

2010-03-15 Thread dr_jym
I am using Ant 1.7.0 not Ant 1.7.1 that has "truncate" task. I have to empty the file using Ant 1.7.0. on Linux - file name is /var/log/testmesg, and it has read/write permissions for everybody. I tried the following: