Um ... why "ls *.mas" in backticks when you can eliminate the subprocess using just "*.mas"? ;-)
Also, your renaming ... that's what /usr/bin/rename is for: "rename .mas .html *.mas" ;-)
In reply to Re^3: What one-liners do people actually use?
by Tanktalus
in thread What one-liners do people actually use?
by TomDLux
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |