Append command-line filespec to path in alias?

Jim Wilson jaw at cs.arizona.edu
Mon Apr 22 07:08:00 AEST 1991


How can I write a csh alias that will pre-pend a path to a command-line
file name?

Example:
    alias oldnews 'elm -f ~/.News/<here is where I'm lost>'

Then,

     oldnews comp.unix.shell

should result in

     elm -f ~/.News/comp.unix.shell

Thanks for whatever you can offer.



More information about the Comp.unix.shell mailing list