소스 검색

Use -f - to read from stdin.

Sergey Poznyakoff 19 년 전
부모
커밋
7bcb876c5a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/shortrec.at

+ 1 - 1
tests/shortrec.at

@@ -31,7 +31,7 @@ mkdir directory
 tar -c -b 1 directory | tar -t >/dev/null
 tar -c -b 1 -f archive directory
 tar -t -f archive >/dev/null
-tar -t <archive >/dev/null
+tar -t -f - < archive >/dev/null
 
 rm -r directory
 ])