Search Results

Search: Posts Made By: PHL
2,770
Posted By PHL
input sample with two lines and 23 columns: ...
input sample with two lines and 23 columns:

1 2 3 4 5 6 7 8 9 10 11 12 13
14 15 16 17 18 19 20 21 22 23 24 25 26


Expected output:

1 2 3 4 5
6 7 8 9 10
11 12 13
14 15...
2,770
Posted By PHL
Converting rows into multiple-rows
Hi every one;

I have a file with 22 rows and 13 columns which includes floating numbers.
I want to parse the file so that every five columns in the row would be a new record (row). For example,...
1,735
Posted By PHL
Problem with formatted printing in AWK
Hi,

I want to print 130 fileds using formatted printing in AWK. It looks like

awk '{printf ("%7.2f%7.2f...%7.2\n",$1,$2,...,$130)}' inflie>oufile

But it gives me an error:
Word too long!...
1,299
Posted By PHL
Help with AWK
I have a file comprised of numbers. As a test case consider:

123456789883283828347...
99588547839304737372...
727573375859239120454...

I want each number be a separate field with space as...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy