See. perlrun and perlvar for more info.perl -pi -e '$. == 1 and print $/' textfile
_________
broquaint
In reply to Re: need help:insert a line in a textfile
by broquaint
in thread need help:insert a line in a textfile
by star7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |