Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unix script search files as a set of command line arguments

Status
Not open for further replies.

navarro1

Technical User
Jun 11, 2003
9
US
How do i make my unix script search for files passed to the script as a set of command line arguments

$ myscript /export/home/accounting myfile1 myfile2

why the prompt is still asking for the files names to search if they are in the commnad line?

 
You need to post your code for this question to be answered.
 
pmcmicha,

Thank you for your reply. I was just about to sent my script and I realize that I should use the positional parameters to make the script and the argument execute as a command line.

Thanks, again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top