Skip to main content

All Questions

Tagged with
-2 votes
1 answer
251 views

modify the columns

This is my dataset: chr1_KI270706v1_random,153401,rs867658023,chr1_KI270706v1_random_153401 chr1_KI270706v1_random,154751,rs1030747857,chr1_KI270706v1_random_154751 chr1_KI270706v1_random,156703,...
priyanka's user avatar
1 vote
2 answers
1k views

How to join columns from two files using awk/sed command?

I have two files File-1 and File-2 with data in columns. I want to create another file and copy the data of the first column of File-2 corresponding to the data to file-1 in row wise as given below. ...
sai's user avatar
  • 77
0 votes
6 answers
2k views

I have a table and I want to extract the row in reverse order of columns in shell script [closed]

The table looks like this: 1|Hunk|First|London 2|Hero|Second|London 3|Will|First|Pow 4|Thomas|Second|Pow 5|Venus|First|Berlin I want to print the output as: Berlin|First|venus|5 i want to print only ...
hunkmaster's user avatar
3 votes
2 answers
2k views

Compare 2 delimited files and output differences

I have asked similar questions here a couple times in the past with great success, but now my needs have slightly changed and I am struggling to get the exact output I am looking for. I would like to ...
cmart2112's user avatar
  • 115
4 votes
2 answers
2k views

Compare 2 tab delimited files and output differences with column header

I would like to compare 2 similar files on a common column. The files will have identical headers. file1.txt mem_id Date Time Building aa bb cc dd ee ff ...
cmart2112's user avatar
  • 115