Help! How to make a csh receive argvs from command line?

Reply

Join Date: Jul 2004
Posts: 2
Reputation: rock31 is an unknown quantity at this point 
Solved Threads: 0
rock31 rock31 is offline Offline
Newbie Poster

Help! How to make a csh receive argvs from command line?

 
0
  #1
Jul 21st, 2004
Hello,
Would anyone please tell me how to write a shell script which receives input argument from command line?
Thanks alot
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Help! How to make a csh receive argvs from command line?

 
0
  #2
Jul 21st, 2004
What have you got so far?

I know that bash uses $1, $2, $3, and so on as variables for command arguments. I imagine csh might be similar, if not the same. Have you tried reading the manpage on csh? It might give you some pointers on accepting command arguments.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 2
Reputation: rock31 is an unknown quantity at this point 
Solved Threads: 0
rock31 rock31 is offline Offline
Newbie Poster

Re: Help! How to make a csh receive argvs from command line?

 
0
  #3
Jul 27th, 2004
Originally Posted by alc6379
What have you got so far?

I know that bash uses $1, $2, $3, and so on as variables for command arguments. I imagine csh might be similar, if not the same. Have you tried reading the manpage on csh? It might give you some pointers on accepting command arguments.
Thanks alot
Rock31
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC