Hello,

On Mon, Sep 08, 2014 at 10:08:42AM +0200, SZABO Zsolt wrote:
> (m)awk-kal megtudom csinalni, de sed-del lehet-e ilyet?
> 
> Tehat beolvasok soronkent egy szoveget es minden sor elejere beszurom
> az aktualis sor szamat (awk-ban NR)...

és ha az "nl" paranccsal olvasnád a fájlt?

nl -ba .vimrc
     1  " All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually 
just
     2  " /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to 
:runtime
     3  " you can find below.  If you wish to change any of those settings, you 
should

...



a.

_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf.linux.rulez.org/mailman/listinfo/linux

válasz