943,491 Members | Top Members by Rank

Ad:
Jul 21st, 2004
0

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

Expand Post »
Hello,
Would anyone please tell me how to write a shell script which receives input argument from command line?
Thanks alot
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rock31 is offline Offline
2 posts
since Jul 2004
Jul 21st, 2004
0

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

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.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
Jul 27th, 2004
0

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

Quote 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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rock31 is offline Offline
2 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: installation for linux Operating system
Next Thread in Linux Applications and Software Forum Timeline: grub bootloader





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC