![]() |
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 |
| 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 convert a single column into several rows and columns? | ashton_smith | UNIX for Dummies Questions & Answers | 5 | 05-24-2008 04:44 PM |
| shell script required to convert rows to columns | suresh3566 | Shell Programming and Scripting | 2 | 05-07-2008 05:25 AM |
| deleting rows & columns form a csv file | code19 | Shell Programming and Scripting | 2 | 03-13-2008 10:06 AM |
| Cut rows | obedkhan | HP-UX | 2 | 08-23-2006 09:36 AM |
| Finding different rows | dombi | Shell Programming and Scripting | 2 | 03-06-2006 05:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Columns to rows
I have a file which has values seperated by ~ as shown below and I have to achieve a column to row from this.
Incoming row is like this Quote:
Quote:
|
|
||||
|
Quote:
Quote:
|
|
||||
|
I am sorry vgersh99, but it was Your short tone, pointing me to a "bad style of programming" page, and saying that my solution don't work, that triggered me. Of course I know there are many ways to do the same thing. I may have overreacted. Sorry.
mgirinath? Can You explain more about what You want? Do You want Quote:
Quote:
Quote:
or even Quote:
??? Have Yo tried my suggestion? /Lakris |
|
||||
|
It doesn't have to be so complicated. Depends on if You want to group it or so but the simplest way would be to use tr, i think.
Quote:
Try it. /Lakris |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|