[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zeilen numerieren



> > Es besteht eine ascii-Datei mit folgendem Format:
> >
> > ...
> > irgend ein text1 text1 text1     #421
> > irgend ein text2 text2 text2     #422
> > irgend ein text# text& text-     #423

awk 'sub(/#.+/, NR)' < ascii-Datei



Reply to: