Thus spaketh Randal L. Schwartz: > >>>>> "Gavin" == Gavin Henry <[EMAIL PROTECTED]> writes: > > >> perl -pe 's/^/=$.= /' test.pl > > Gavin> That looks familiar [ ... ]
Yes. But I found a way to confuse myself. Why does perl -e '$_.="$. "' some_file start the enumaration at line 2, while perl -e '$_="$. $_"' some_file starts it at line 1 (as wanted). Cheers Michael -- Michael P. Demelbauer http://www.wsr.ac.at/~michael/ WSR (Wirtschafts- und Sozialwissenschaftliches Rechenzentrum) LUGA (Linux User Group Austria) Einsamkeit ist der Weg, auf dem das Schicksal den Menschen zu sich selber führen will. -- Hermann Hesse -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>