Explorar o código

Use -f - to read from stdin.

Sergey Poznyakoff %!s(int64=19) %!d(string=hai) anos
pai
achega
7bcb876c5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 ])