The variation of this sort of thing that I tend to use:
perl -ne'/^[A-Za-z]/&&print'Besides being completely straight forward, that beats Abigail's by one stroke... :-) I do, however, agree with the others that have suggested grep(1) or strings(1). In particular, grep(1) seems to make much more sense in this particular case.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: [perlrun/perlre] one-liner to match "readable" lines
by sauoq
in thread [perlrun/perlre] one-liner to match "readable" lines
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |