Search Results

Search: Posts Made By: pcg
4,169
Posted By pcg
Merge Files into Single with Header
Hi All,

I am trying to merge all files in a directory that end in *.txt to a single file with the contents one after the other. This I can do using the cat function but how do I put the name of...
1,078
Posted By pcg
Shell Script Incremental
I have a master sequence say

>Seq
ATGCGTA.......

That I want to repeat N no of times and each time the sequence is the same but the header changes in incremental numerical order

E.g.
>Seq1...
2,098
Posted By pcg
awk 'NR==FNR{a[$0]=1}NR>FNR&&a[$1]' file1 file2 ...
awk 'NR==FNR{a[$0]=1}NR>FNR&&a[$1]' file1 file2
does not work
2,098
Posted By pcg
I would prefer not to sort them because I want to...
I would prefer not to sort them because I want to keep them in the order in which they are because it corresponds to a large excel file and join does not work for me
2,098
Posted By pcg
awk column comparison big file
Hi all,

I would like to compare a column in one file to a column in another file and when there is a match it prints the first column and the corresponding second column. Example

File1
ABA...
3,501
Posted By pcg
Compare Columns in two files
Hi all,

I would like to compare a column in one file to a column in another file and when there is a match it prints the first column and the corresponding second column. Example

File1
ABA...
Showing results 1 to 6 of 6

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