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

Re: file globbing heck

by belg4mit (Prior)
on May 03, 2002 at 20:58 UTC ( [id://163902]=note: print w/replies, xml ) Need Help??


in reply to file globbing heck

I'd chdir first and avoid the whole problem. It also gets you a smaller result set back.

I'd also use glob, because it's prettier.

--
perl -pew "s/\b;([mnst])/'$1/g"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-03-28 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found