]> Dogcows Code - chaz/tar/commitdiff
Use -f - to read from stdin.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 4 Mar 2006 09:57:44 +0000 (09:57 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 4 Mar 2006 09:57:44 +0000 (09:57 +0000)
tests/shortrec.at

index d3a2252d1815c212019f8bb4f63c414090b6469b..9705341309628d3cb2992df930cc505797555e80 100644 (file)
@@ -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
 ])
This page took 0.025025 seconds and 4 git commands to generate.