![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parse Line Using Sed | racbern | Shell Programming and Scripting | 7 | 12-20-2007 02:47 AM |
| SED help (remove line::parse again::add line) | Malumake | Shell Programming and Scripting | 6 | 10-24-2007 06:02 PM |
| please help to parse the line | ajaya | Shell Programming and Scripting | 1 | 05-11-2006 02:15 AM |
| please help to parse the line | ajaya | Shell Programming and Scripting | 1 | 05-10-2006 10:11 AM |
| Perl: Search for string then parse next line | pondlife | Shell Programming and Scripting | 4 | 04-06-2006 05:44 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to parse a line?
I'm currenting trying to parse the out put of the following command.
iostat -xtc -r |grep cmdk0 which produces the output cmdk0,0.2,0.0,1.2,0.0,0.0,0.0,39.7,0,0,0,0,0,0,0,99 I'm then trying to get the data to look like this: rw=0.2 ws=0.0 krs=1.2 kws=0.0 wait=0.0 actv=0.0 svct=39.7 %w=0 %b=0 tin=0 tout=0 us=0 sy=0 wt=0 id=99 Any thoughts on how to do this would be great. |
| Bookmarks |
| Tags |
| delimited, parsing, perl split |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|