Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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
Replies are listed 'Best First'.
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 lurking in the Monastery: (13)
As of 2015-07-31 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls