Browse Source

sort ls output

Sergey Poznyakoff 20 năm trước cách đây
mục cha
commit
71b7086ff7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/same-order01.at

+ 1 - 1
tests/same-order01.at

@@ -34,7 +34,7 @@ tar cf archive file1 file2
 mkdir directory
 tar -xf archive --same-order -C directory || exit 1
 
-ls directory
+ls directory|sort 2>/dev/null
 ],
 [0],
 [file1