Преглед на файлове

Pipe the output from `tar xfv' through sort.

Sergey Poznyakoff преди 20 години
родител
ревизия
9106e53684
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      tests/pipe.at

+ 2 - 2
tests/pipe.at

@@ -36,7 +36,7 @@ genfile --length 10240 --pattern zeros > directory/file1
 genfile --length 13 > directory/file2
 tar cf archive directory|sort 2>/dev/null
 mv directory orig
-cat archive | tar xfv -
+cat archive | tar xfv - | sort 2>/dev/null
 echo "separator"
 cmp orig/file1 directory/file1
 echo "separator"
@@ -49,4 +49,4 @@ separator
 separator
 ])
 
-AT_CLEANUP
+AT_CLEANUP