awk '{print $9}' the last ls -l column including any spaces in the file name

后端 未结 7 1360
星月不相逢
星月不相逢 2020-12-29 08:13

How would I get awk to output the whole file name in ls -l if some of the files have spaces in them. Usually, I can run this command:



        
7条回答
  •  心在旅途
    2020-12-29 08:26

    echo 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 | 
      awk 'BEGIN {OFS=ORS=""} ; {for (i=9;i

提交回复
热议问题