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

Re^2: What one-liners do people actually use?

by ikegami (Pope)
on Dec 08, 2005 at 20:32 UTC ( #515366=note: print w/ replies, xml ) Need Help??


in reply to Re: What one-liners do people actually use?
in thread What one-liners do people actually use?

You didn't need Perl for that:

for %q in (*.mas) do ren %q %~nq.html


Comment on Re^2: What one-liners do people actually use?
Download Code
Re^3: What one-liners do people actually use?
by Kanji (Parson) on Dec 08, 2005 at 20:37 UTC
    ren *.mas *.html

        --k.


      duh! silly me! I've been doing
      for %q in (TESTA.*) do copy %q TESTB%~xq
      a lot lately, so I wasn't thinking straight.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-04-25 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (586 votes), past polls