perl -i -pe'$_ x=/^s/i'
-Blake
In reply to Re: Re: Wish to keep only those lines which start with letter s, and delete all other lines.
by blakem
in thread Wish to keep only those lines which start with letter s, and delete all other lines.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |