
your in and outfile have to different, sed is a StreamEDitor .. or also known as the ShrEDder ;) It's mostly harmless tho, Kenny On Fri, 18 Jul 2008, Ward Blondé wrote:
Thanks for all the answers. I tried this 'sed' method of Kenny but it reduces my file to the characterless file. I 'll try something else.
Ward
Kenny Billiau wrote:
apparently, you also have to escape the {} in tcsh .. so the sed solution becomes:
sed "s/^.\{,2\}\(.*\)//" infile > outfile
(djeezes)
-Kenny
On Fri, 18 Jul 2008, Ward Blondé wrote:
I have no problems with VI, but I don't understand the answer: the number n doesn't occur in it!?
Ward
Sofie Van Landeghem wrote:
Oh, gaan we in VI beginnen, ik doe alles in java hoor :p
Kenny Billiau wrote:
In VI you can do:
<esc>gg<ctrl+v>Gd > the sequences between <> are key you have to press .. :) On Fri, 18 Jul 2008, Ward Blondé wrote: > > > > > Hoi Binaries, > > Does anyone know a nice method to strip the first n characters away > > from every line in a file? > > Ward _______________________________________________ Binari Is Not A Regular Island Binari@psb.ugent.be https://maillist.psb.ugent.be/mailman/listinfo/binari > > > >
_______________________________________________ Binari Is Not A Regular Island Binari@psb.ugent.be https://maillist.psb.ugent.be/mailman/listinfo/binari
------------------------------------------------------------------------
_______________________________________________ Binari Is Not A Regular Island Binari@psb.ugent.be https://maillist.psb.ugent.be/mailman/listinfo/binari
--