Search Results

Search: Posts Made By: kamcamonty
12,349
Posted By Don Cragun
But, of course, if you change: bases=`echo A T...
But, of course, if you change:
bases=`echo A T G C`to:
bases=$(echo A T G C)
your script should work just fine with bash, ksh, or zsh. And, if you use the much simpler and more efficient:...
12,349
Posted By junior-helper
bash -c 'b="A T G C"; for c1 in $b;do for c2 in...
bash -c 'b="A T G C"; for c1 in $b;do for c2 in $b;do for c3 in $b; do echo $c1$c2$c3;done;done;done'Hope this works/helps...

Update: The commands don't need to be squashed in one line though...
2,569
Posted By balajesuri
awk '$2 != $3 {print}' file
awk '$2 != $3 {print}' file
Showing results 1 to 3 of 3

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