
ow crap .. I misread your question .. in VI: <esc>gg<ctrl+V>Gnjd where n is your number :D In sed: sed "s/^.{,n}\(.*\)//" infile > outfile where n is your number -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
--