|
|
1.1 ! root 1: #echo "Enter compress FLAGS to be used for this test:\c " ! 2: # read FLAGS ! 3: ! 4: FLAGS= ! 5: ! 6: cd /tmp ! 7: echo "\n\n\nCatting original file into compress." ! 8: echo "command is: cat /newbits/bin/cgrep.c | compress $FLAGS > testfile" ! 9: time cat /newbits/bin/cgrep.c | compress $FLAGS > testfile ! 10: echo "ls -l /tmp" ! 11: ls -l /tmp ! 12: echo "cat /tmp/testfile | uncompress > testfile2" ! 13: cat /tmp/testfile | uncompress $FLAGS > /tmp/testfile2 ! 14: echo "ls -l /tmp /newbits/bin/cgrep.c" ! 15: ls -l /tmp /newbits/bin/cgrep.c ! 16: echo "comparing testfile2 and original file (cgrep.c)" ! 17: cmp /tmp/testfile2 /newbits/bin/cgrep.c ! 18: echo "removing testfile2" ! 19: rm /tmp/testfile2 ! 20: echo "zcatting testfile into testfile2" ! 21: zcat /tmp/testfile > /tmp/testfile2 ! 22: echo "ls -l /tmp" ! 23: ls -l /tmp ! 24: echo "comparing testfile2 and cgrep.c" ! 25: cmp /tmp/testfile2 /newbits/bin/cgrep.c ! 26: echo "removing testfile2" ! 27: rm /tmp/testfile2 ! 28: echo "uncompressing /tmp/testfile" ! 29: uncompress $FLAGS /tmp/testfile ! 30: echo "ls -l /tmp" ! 31: ls -l /tmp ! 32: echo "comparing uncompressed testfile and cgrep.c" ! 33: cmp /tmp/testfile /newbits/bin/cgrep.c ! 34: echo "cleaning up..." ! 35: rm /tmp/testfile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.