![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TextCite: Publication Quotation Manager 1.3 (Default branch) | iBot | Software Releases - RSS News | 0 | 05-08-2008 06:10 PM |
| TextCite: Publication Quotation Manager 1.0.3 (Default branch) | iBot | Software Releases - RSS News | 0 | 01-26-2008 10:20 PM |
| enclose a line with quotation marks | gfhgfnhhn | Shell Programming and Scripting | 3 | 03-05-2007 05:28 AM |
| Tricky script question | budrito | Shell Programming and Scripting | 3 | 06-30-2006 03:06 AM |
| Tricky File Permission Question | Hook | Filesystems, Disks and Memory | 3 | 07-16-2002 03:25 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Tricky Quotation Question
Hi,
I am at a point in my script where I defined the number of the command line parameter I would like to set a variable equal to: parameter_number=14 I would then like to set a variable equal to the correct parameter: variable=$parameter_number The issue here is that {} is required (ie. variable=${parameter_number}). What should I do so that the shell will expand the statement and set "variable" equal to my 14th command line parameter? |
![]() |
| Bookmarks |
| Tags |
| eval, variable |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|