]> Dogcows Code - chaz/tar/commitdiff
Pipe the output from `tar xfv' through sort.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 7 Jul 2005 16:20:03 +0000 (16:20 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 7 Jul 2005 16:20:03 +0000 (16:20 +0000)
tests/pipe.at

index 8b73609390be1c39e2e996a28fa7830f3b38d174..dd919d6bdb3d5ff0237006235b3fe1fd38ba1fbe 100644 (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
\ No newline at end of file
+AT_CLEANUP
This page took 0.027524 seconds and 4 git commands to generate.