This task can be done with a one-liner. Refer to the runtime options /e, /i, and /p in perldoc perlrun.
In reply to Re: remove lines from file ending with / char
by BillKSmith
in thread remove lines from file ending with / char
by msx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |