Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
Running Windows on your Mac
linux tcsh interactive and argv
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="newdaddy" data-source="post: 592470" data-attributes="member: 38765"><p>Hi all,</p><p></p><p>I have, in a .cshrc file ported from my old unix .alias file, some aliases like this;</p><p></p><p>alias oneCol 'tr " " "\012" < $1 > $2'</p><p></p><p>I'm running interactive tcsh on my Tiger OS X, and these aliases fail here, like this;</p><p></p><p>> oneCol test1 testOut</p><p>tcsh: $1: Ambiguous.</p><p></p><p>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.) </p><p></p><p>Thanks -</p></blockquote><p></p>
[QUOTE="newdaddy, post: 592470, member: 38765"] 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]
Verification
Post reply
Forums
Apple Computing Products:
Running Windows on your Mac
linux tcsh interactive and argv
Top