From: utzoo!decvax!cca!HOLSTEGE@Cit-20@sri-unix
Newsgroups: net.unix-wizards
Title: tops-20 style rename/copy
Article-I.D.: sri-unix.3055
Posted: Wed Sep  1 19:43:02 1982
Received: Thu Sep  9 06:37:55 1982

Date: 27 Aug 1982 1625-PDT
It is possible to get the unexpanded arguments to a command with the C shell.
For example, if you wanted a tops-20 style rename, the alias
alias rename renameprog \'\!:1\' \'\!:2\'
would allow renameprog to get its two arguments without filename
expansion (or variable expansion, if you want that, use double quotes 
instead of single quotes). Then
rename *.c *.d
can be made to do what it aught to.
-------