2019-05-13 awk if语句

awk 'BEGIN{OFS="\t"}{if ($2 < $3)print $1,$2,$3,$4,"0","."; else print $1,$3,$2,$4,"0","."} ' mm9.tRNA.bed > newmm9.tRNA.bed

sed'1~2d'file#删除奇数行

sed'1~2!d'file#删除偶数行

你可能感兴趣的:(2019-05-13 awk if语句)