interactive tcsh and argv
I have, in a .cshrc file ported from my old unix .alias file, some aliases like this;
alias oneCol 'tr " " "\012" < $1 > $2'
I'm running interactive tcsh on linux, and these aliases fail here, like this;
> oneCol test1 testOut
tcsh: $1: Ambiguous.
I believe this is because argv is not set for these interactive tcsh commands. Is there some way to force argv to be set in interactive linux (OS X) tcsh? Or what would an equivalent tcsh alias be? (Please don't tell me to use some other shell. There's got to be some way to pass command line arguments to an alias.)