|
|
coherent
#echo "Enter compress FLAGS to be used for this test:\c " # read FLAGS FLAGS= cd /tmp echo "\n\n\nCatting original file into compress." echo "command is: cat /newbits/bin/cgrep.c | compress $FLAGS > testfile" time cat /newbits/bin/cgrep.c | compress $FLAGS > testfile echo "ls -l /tmp" ls -l /tmp echo "cat /tmp/testfile | uncompress > testfile2" cat /tmp/testfile | uncompress $FLAGS > /tmp/testfile2 echo "ls -l /tmp /newbits/bin/cgrep.c" ls -l /tmp /newbits/bin/cgrep.c echo "comparing testfile2 and original file (cgrep.c)" cmp /tmp/testfile2 /newbits/bin/cgrep.c echo "removing testfile2" rm /tmp/testfile2 echo "zcatting testfile into testfile2" zcat /tmp/testfile > /tmp/testfile2 echo "ls -l /tmp" ls -l /tmp echo "comparing testfile2 and cgrep.c" cmp /tmp/testfile2 /newbits/bin/cgrep.c echo "removing testfile2" rm /tmp/testfile2 echo "uncompressing /tmp/testfile" uncompress $FLAGS /tmp/testfile echo "ls -l /tmp" ls -l /tmp echo "comparing uncompressed testfile and cgrep.c" cmp /tmp/testfile /newbits/bin/cgrep.c echo "cleaning up..." rm /tmp/testfile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.