tags:

views:

72

answers:

2

which variable will capture the contents of the second argument passed to a script at the command line

+4  A: 

Usually it can be found in $2.

bdonlan
A: 

What kind of script? sh, awk, bash, perl, etc.?

ysth
Questions to the submitter should probably be in comments, not answers :)
bdonlan
@bdonlan: I was going to replace it with an actual answer when the submitter clarified. I intentionally made it an answer because I wanted to highlight the assumption you were making in your answer :)
ysth