소스 검색

sort ls output

Sergey Poznyakoff 20 년 전
부모
커밋
71b7086ff7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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