Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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: (3)
As of 2014-07-13 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (244 votes), past polls