![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| More than transposing! | bulash | UNIX Desktop for Dummies Questions & Answers | 3 | 04-11-2008 02:20 PM |
| Transposing string | unibboy | Shell Programming and Scripting | 3 | 02-13-2008 03:12 PM |
| Major Awk problems (Searching, If statements, transposing etc.) | Blivo | Shell Programming and Scripting | 2 | 09-05-2007 03:41 AM |
| Another transposing issue | stevesmith | Shell Programming and Scripting | 14 | 09-16-2006 01:48 AM |
| transposing letters | myscsa2004 | Shell Programming and Scripting | 4 | 05-12-2004 07:11 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
Quote:
|
| Forum Sponsor | ||
|
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
|||
|
|||
|
Using Ruby:
[[1,2,3], [4,5,6]].transpose yields [[1, 4], [2, 5], [3, 6]] |
|
#11
|
|||
|
|||
|
Thank you guys. It worked by change awk to nawk, but the output is not tab delimited format. Can anyone fix it for me? thx.
|
|
#12
|
||||
|
||||
|
nawk -v OFS='\t' ..........
|
|
#13
|
|||
|
|||
|
Thanks! It worked well. But if I need to transpose a file like this to a colume based file, how can I do it? Please help. Thanks in advance.
|
|
#14
|
||||
|
||||
|
can you elaborate on the question, pls?
|
||||
| Google The UNIX and Linux Forums |