
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
-- ================================================================== Ward Blondé wablo@psb.ugent.be PhD student Tel:+32 (0)9 331 38 24 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM http://www.psb.ugent.be/cbd/people_ward_blonde.php ==================================================================