Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: remove lines from file ending with / char

by BillKSmith (Curate)
on Sep 03, 2012 at 19:01 UTC ( #991501=note: print w/ replies, xml ) Need Help??


in reply to remove lines from file ending with / char

This task can be done with a one-liner. Refer to the runtime options /e, /i, and /p in perldoc perlrun.

Bill
  • Comment on Re: remove lines from file ending with / char

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991501]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-06-25 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.