![]() |
|
|
|
|
|||||||
| 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 |
| How to convert a single column into several rows and columns? | ashton_smith | UNIX for Dummies Questions & Answers | 5 | 05-24-2008 01:44 PM |
| Compare 2 files for a single column and output differences | samit_9999 | UNIX for Dummies Questions & Answers | 1 | 04-23-2008 09:02 AM |
| Cutting the first 8 chars of a 2nd column | cassj | UNIX for Dummies Questions & Answers | 9 | 03-28-2008 08:22 AM |
| Single column to multiple columns in awk | astroDave | Shell Programming and Scripting | 2 | 03-27-2008 07:00 PM |
| single column to multiple columns | agibbs | UNIX for Dummies Questions & Answers | 7 | 12-05-2007 07:04 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need help recurrently cutting single column file
Hi there !
I have file with single column. I want to cut that column at fixed number of rows each time and paste in another file, in a way that in new file, the each cutting appear as separate columns. I mean cutting file with one column of 10000 rows, with 100 rows each time, and in new file to get 100 columns each with 100 columns. Help with suitable unix command for doing this is required. Thanks in advance.. Last edited by jacks; 02-09-2008 at 08:42 AM. Reason: correction |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
try man split
|
|
#3
|
|||
|
|||
|
I think that will split the column in a source file, but I do not know how to append that section each time in one file as new column.
I mean ..1 column of 100 rows will be appended each time in a destination file as new column. |
|
#4
|
||||
|
||||
|
I am not too sure what you want here, but maybe the paste command is what you're looking for.
|
||||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|