View Single Post

Member Since: Sep 28, 2007
Posts: 8
newdaddy is on a distinguished road

newdaddy is offline
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 -
QUOTE Thanks