Kaynağa Gözat

Use -f - to read from stdin.

Sergey Poznyakoff 19 yıl önce
ebeveyn
işleme
7bcb876c5a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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
 ])