From: Sergey Poznyakoff Date: Thu, 7 Jul 2005 16:20:03 +0000 (+0000) Subject: Pipe the output from `tar xfv' through sort. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9106e53684321f48244ae94fd50b0f7a41b5b723;p=chaz%2Ftar Pipe the output from `tar xfv' through sort. --- diff --git a/tests/pipe.at b/tests/pipe.at index 8b73609..dd919d6 100644 --- a/tests/pipe.at +++ b/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 \ No newline at end of file +AT_CLEANUP