我有一些字符串
1000 AS34_59329 RICwdsRSYHSD11-2-IPAAPEK-93 / ifshk5 / BC_IP / PROJECT / T1 1073 / T11073_RICekkR / Fq上/ AS34_59329 / 111220_I631_FCC0E5EACXX_L4_RICwdsRSYHSD11-2-IP AAPEK-93_1.fq.gz / ifshk5 / BC_IP / PROJECT / T11073 / T11073_RICekkR / Fq中/ AS34_5932 9 / 111220_I631_FCC0E5EACXX_L4_RICwdsRSYHSD11-2-IPAAPEK-93_2.fq.gz / ifshk5 / BC_IP /项目/ T11073 / T11073_RICekkR / Fq中/ AS34_59329 / clean_111220_I631_FCC0E5EACXX_ L4_RICwdsRSYHSD11-2-IPAAPEK-93_1.fq.gz.total.info 11.824 0.981393 43.8283 95.7401 OK
我计划使用 awk 来获取 AS34_59329
dirname= echo "$myline" | awk -F ' ' '{print $2}'
但它行不通。