![]() |
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 |
| assigning variables from standard output | whamchaxed | UNIX for Dummies Questions & Answers | 2 | 12-04-2007 07:31 PM |
| Assigning file attributes to variables | olimiles | Shell Programming and Scripting | 5 | 08-18-2006 10:31 AM |
| assigning variables in sed command | wxornot | Shell Programming and Scripting | 3 | 02-04-2006 02:56 PM |
| Problem in assigning values to variables | mohanprabu | Shell Programming and Scripting | 3 | 08-25-2005 05:44 AM |
| Assigning nawk output to variables | steveje0711 | Shell Programming and Scripting | 6 | 08-19-2005 06:03 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
assigning variables
Before I even attempt this, is it possible to grep for a pattern, maybe a partial sentence like "go to page 3", assign that to a variable and then use awk or something to pull out the 3 and assign it to a variable? So first I would have
Gotopg = "go to page 3" then page = 3 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|