Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'And yet another way:' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
And yet another way:
Authored by: LC on Mar 14, '05 08:40:31PM
csh (and tcsh) users --

foreach f (*.txt)
  mv -i ${f} ${f:r}.text
end
csh, tcsh (if you find yourself using it) has those nifty word substitution operators ... Larry.

[ Reply to This | # ]