10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a large csv dataset like this : A value1
what I expected output is :A value1 value2 value3
B value1 value2 value3
C value1 value2 value3
I'm thinking of use like awk, columns , but haven't find a proper... (4 Replies)
Discussion started by: nengcheng
2. UNIX for Beginners Questions & Answers
I would like to compare values in column 8, and grep the ones where the different is > 1, columns 1 and 2 are the key for array.
Every 4 rows the records values in columns 1 and 2 changed. Then, the comparison in the column 8 need to be done for the 4 rows everytime columns 1 and 2 changed
... (4 Replies)
Discussion started by: jiam912
3. UNIX for Beginners Questions & Answers
I am very new to the world of regular expressions. I am trying to use grep/sed for the following:
Input file is something like this and there are multiple such files:
10 (2 Replies)
Discussion started by: shellnewuser
4. Shell Programming and Scripting
Hi .. anyone can you help me ?
i need to convert text below into multiple columns
encapsulation;... (1 Reply)
Discussion started by: mad3linux
5. Shell Programming and Scripting
Convert Single column to multiple rows
file a.txt contains data like below
Time=450 (5 Replies)
Discussion started by: sol_nov
6. Shell Programming and Scripting
Dear fellows, I need your help.
I'm trying to write a script to convert a single column into multiple rows.
But it need to recognize the beginning of the string and set it to its specific Column number.
Each Line (loop) begins with digit (RANGE).
At this moment it's kind of working, but it... (6 Replies)
Discussion started by: AK47
7. UNIX for Dummies Questions & Answers
My requisite is to split a single column of phonemes seperated by spaces into multiple rows.
my input file is:
my o/p should be like:
adhu a dh u (3 Replies)
Discussion started by: girlofgenuine
8. Shell Programming and Scripting
Can anyone suggest quick way to get desired output?
Sample input file content:
A 12 9
A -0.3 2.3
B 1.0 -4
C 34 1000
C -111 900
C 99 0.09
A 12 9 -0.3 2.3
B 1.0 -4
C 34 1000 -111 900 99 0.09
Thanks (3 Replies)
Discussion started by: cbm_000
9. Shell Programming and Scripting
I need to convert this file having just one column into two column file
c 34 (15 Replies)
Discussion started by: prachiagra
10. Shell Programming and Scripting
i have single column which is starting with same string(many number of rows)
i have to convert each into a single row.how can i do that?
I have to convert above like below.
laknar|isd|phone... (3 Replies)
Discussion started by: laknar