是什麼導致時間戳寫入輸出檔?
pr - mJ <(ls -d /dir1/dir2/*/) <(sh /dir1/dir2/text.txt) > /dir1/dir2/output.txt
當我查看輸出檔時
cat /dir/dir/output.txt
2019-03-20 10:56 Page 1
dir11 45
dir12 56
dir13 83
造成時間戳的原因是什麼?
列出/dir1/dir2/下的所有目錄
ls -d /dir1/dir2/*/
/dir1/dir2/text.txt 的內容
ls -lR "/dir1/dir2/dir11/" | wc -l
ls -lR "/dir1/dir2/dir12/" | wc -l
ls -lR "/dir1/dir2/dir13/" | wc -l