10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to replace the retail col from FileI with cstp1 col from FileP if the strpno matches in both files
... (2 Replies)
Discussion started by: YogeshG
2. Shell Programming and Scripting
I need to append new data at the end of each line of the files. This new data is based on substring (3rd fields) of last column.
Input file xxx.csv:
U1234|1-5X|orange|1-5X|Act|1-5X|0.1 /sac/orange 12345 0
U5678|1-7X|grape|1-7X|Act|1-7X|0.1 /sac/grape 5678 0... (5 Replies)
Discussion started by: null7
3. Shell Programming and Scripting
I would like to find an automatic way to add a given code which belong to a class at the end of the column , for example this is my input file:
V$VMYB_01 310 (+) 1 0.971 v-Myb
V$EVI1_04 782 (-) 0.763 0.834 Evi-1
V$ELK1_02 1966 (-) 1 0.984 Elk-1... (4 Replies)
Discussion started by: paolo.kunder
4. Shell Programming and Scripting
Hi. I am not sure the title gives an optimal description of what I want to do. Also, I tried to post this in the "UNIX for Dummies Questions & Answers", but it seems no-one was able to help out.
I have several text files that contain data in many columns. All the files are organized the same... (14 Replies)
Discussion started by: JamesT
5. UNIX for Dummies Questions & Answers
I have a file having the following entries:
test1 test2 test3
11 22 33
22 44 66
99 99 44
I want to add a column so that the above file becomes:
test1 test2 test3 notest
11 22 33 *
22 44 66 *
99 99 44 *
Thanks (6 Replies)
Discussion started by: mary271
6. Shell Programming and Scripting
I am trying to move a column from one position to another position in a delimited file. The positions are dynamic in nature and are available by environmental variables. Also the file can have n number of columns.
Initial Column Position=1
Final Column Position=3
... (2 Replies)
Discussion started by: ayan153
7. Shell Programming and Scripting
using awk to substitute data in a column delimited text file
hello i would like to use awk to do the following calculation from the following snippet.
C;2390 ;CV BOUILLOTTE 2L 2FACES NERVUREES ;1.00 ;3552612239004;13417 ;25 ;50 ; 12;50000 ; ; ... (3 Replies)
Discussion started by: iindie
8. Shell Programming and Scripting
I have the below flat filewith ~ as delimiter
I need to append corresponding emp.name column which will come from database based on emp.no in the flat file.
I need the output as
Can anyone please help me in resolving this issue..
I tried the... (2 Replies)
Discussion started by: siri_886
9. Shell Programming and Scripting
Hi, Iam new to unix. I have one input file .
Input file :
I need output such that only first column should change to fixed width column of 15 characters of length.
ID2<<12... (5 Replies)
Discussion started by: manneni prakash
10. Shell Programming and Scripting
The below is the content of the file.
008.06.30.17|ID3_1xVoice|00159660d454... (2 Replies)
Discussion started by: ravi_rn