> > 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