所以我正在运行我为语言建模任务编写的脚本。在"to_remove=“行中,它错误地使用了"/usr/bin/awk:参数列表太长”,尽管只有4个参数echo "Removing n-grams that contain a word: Argument list too longawk -v c=$m
我试着用awk把一条线切成多条线。在每两个字之后。下面是我使用的命令,当然没有给出预期的结果。echo hey there this is a test | awk '{ for(i=1;i<=NF;i++) if(i%2=="0") ORS="\n" ;else ORS=" "}1'
hey="\n" ;else</em