a.txt中的内容为 one||two||three||four 使用双竖线作为分隔符 awk -F '\\|\\|' '{print $4}' a.txt 使用单引号 使用双反斜线 打印出来的内容为four