Search Results

Search: Posts Made By: asanjuan
7,835
Posted By kurumi
ruby -e 'Dir["*"].each_with_index{|x,y| print...
ruby -e 'Dir["*"].each_with_index{|x,y| print "#{y+1} #{File.read(x).split.count("AT")}\n"}'
15,517
Posted By pravin27
try this, #!/bin/sh for i in {1..4} ...
try this,


#!/bin/sh

for i in {1..4}
do
awk 'NR==FNR{a[$5]=++i;next} { if ( $5 in a) {print $0}}' $i.xyz $i.txt > EF_$i
done
15,517
Posted By pravin27
try this, awk 'NR==FNR{a[$5]=++i;next} { if...
try this,

awk 'NR==FNR{a[$5]=++i;next} { if ( $5 in a) {print $0}}' 3.xyz 3.txt
14,750
Posted By malikshahid85
just execute the same code on your files.so 1st...
just execute the same code on your files.so 1st and last step will be performed.
1.

#!/bin/ksh
for i in `ls *.txt`
do
nawk '!($4=="AT" && $9>0.10 )' $i > newfile_$i.txt
done


3.

...
14,750
Posted By Franklin52
Try this: awk '$4=="AT" && $9 <= 0.1 && $9 >=...
Try this:
awk '$4=="AT" && $9 <= 0.1 && $9 >= 0.0' file
Showing results 1 to 5 of 5

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