![]() |
|
|
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 |
| How to handle multiple rows in a file | ksmbabu | Shell Programming and Scripting | 2 | 05-15-2008 01:44 AM |
| Fast, flexible, calculating from the command line | iBot | UNIX and Linux RSS News | 0 | 03-11-2008 05:40 AM |
| find multiple file types and tar | manthasirisha | Shell Programming and Scripting | 9 | 03-21-2006 12:37 PM |
| Help needed in processing multiple variables in a single sed command. | stevefox | Shell Programming and Scripting | 5 | 12-16-2005 01:06 AM |
| File types help needed | brady9953 | Linux | 3 | 09-07-2003 08:32 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
flexible sed command needed to handle multiple input types
Hello, I need a smart sed command that can take any of the following two as an input and give below mentioned output. As you can see, I am trying to convert some C code
INPUT: struct abc_sample1 { char myString[32]; UINT16 myValue1[10]; UINT64 myValue2; }; typedef struct { char myString[32]; UINT16 myValue1[10]; UINT64 myValue2; } abc_sample1; OUTPUT: ABC_DataDesc_T abc_sample1_desc[] = { char myString[32]; UINT16 myValue1[10]; UINT64 myValue2; }; Thanks a bunch |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|