![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| after grep i want to redirect it to some variable | mail2sant | Shell Programming and Scripting | 2 | 04-07-2008 06:26 AM |
| Redirect to variable | MrAd | UNIX for Dummies Questions & Answers | 2 | 05-07-2007 01:18 PM |
| redirect stderr and/or stdout to /dev/null from command line | knc9233 | UNIX for Dummies Questions & Answers | 1 | 01-25-2007 09:24 AM |
| redirect command output to variable | hugow | UNIX for Dummies Questions & Answers | 1 | 06-22-2005 03:43 AM |
| Passing the command line argument in a variable | rkumar28 | Shell Programming and Scripting | 1 | 05-26-2004 12:02 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#8
|
||||
|
||||
|
I though we've already solved this problem in here.
if you don't have 'nawk', try using 'awk' or 'gawk'. I think it's somewhat ..... well how should I put it ...... not elegant [maybe] to jump through so many hoops. Have you tried using 'eval' as previously noted? |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Yes works fine thank you, I did use awk! and in defense awk seems to be very specialized and really somewhat limited on what you can do or pass into the statement. This really is a easy way to by pass those limitations without having to use nawk. I mean really with 4 lines of code your not jumping thourgh to many hoops.
Please feel free to post the same thing using just awk, I would love to compare, that would help me greatly!! |
|||
| Google The UNIX and Linux Forums |