Hi all,
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 my Tiger OS X, 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 OS X tcsh? Or what would an equivalent tcsh alias be? (Please, please, don't tell me to use some other shell.)
Thanks -
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 my Tiger OS X, 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 OS X tcsh? Or what would an equivalent tcsh alias be? (Please, please, don't tell me to use some other shell.)
Thanks -