shell19

作者: rong酱 | 来源:发表于2022-09-05 17:16 被阅读0次

num=1

for i in `cat IntOGen-DriverGenes.tsv | grep -v "Symbol" | cut -f 1 | awk -F "\"" '{print $2}' `

do

if [ ${num} -lt 10 ]

then

  echo -n $i" "

  num=$[${num}+1]

elif [ ${num} -eq 10 ]

then

  echo $i

  num=1

fi

done

相关文章

  • shell19

    num=1 for i in `cat IntOGen-DriverGenes.tsv | grep -v "Sy...

网友评论

      本文标题:shell19

      本文链接:https://www.haomeiwen.com/subject/omcbnrtx.html