Search Results

Search: Posts Made By: ljk
1,000
Posted By rdrtx1
try: awk -v sc=10 '{c=0; for (i=sc+1; i<=NF;...
try:
awk -v sc=10 '{c=0; for (i=sc+1; i<=NF; i++) if (substr($i,1,3)!=substr($sc,1,3)) c++; if (c) print}' infile
18,519
Posted By jim mcnamara
cd /directory/to/files for f in Bar* do ...
cd /directory/to/files
for f in Bar*
do
mv $f ${f}.fastq
done


Have fun...
1,468
Posted By bartus11
Try: awk 'NR==FNR{a[$1" "$2]=$3;next}{$4=a[$1"...
Try: awk 'NR==FNR{a[$1" "$2]=$3;next}{$4=a[$1" "$2]}1' file1 file2
Showing results 1 to 3 of 3

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