Pipe the output from `tar xfv' through sort.

This commit is contained in:
Sergey Poznyakoff
2005-07-07 16:20:03 +00:00
parent a34b0ad8c9
commit 9106e53684
+2 -2
View File
@@ -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