rm -f -r ghc-5.05.20030124 ln -s . ghc-5.05.20030124 /usr/bin/find ghc-5.05.20030124/ghc/compiler \ ghc-5.05.20030124/ghc/driver \ ghc-5.05.20030124/libraries \ ghc-5.05.20030124/hslibs \ \( -name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" \) -print > hc-files-to-go for f in `/usr/bin/find ghc-5.05.20030124/ghc/compiler ghc-5.05.20030124/ghc/driver ghc-5.05.20030124/libraries ghc-5.05.20030124/hslibs -name "*.hsc" -print` ""; do \ if test "x$f" != "x" && test -e `echo "$f" | sed 's/hsc$/hs/g'`; then \ echo `echo "$f" | sed 's/hsc$/hs/g' ` >> hc-files-to-go ; \ fi; \ done; echo ghc-5.05.20030124/libraries/base/GHC/PrimopWrappers.hs >> hc-files-to-go echo ghc-5.05.20030124/ghc/compiler/*.hs-incl >> hc-files-to-go echo ghc-5.05.20030124/ghc/compiler/parser/Parser.hs >> hc-files-to-go echo ghc-5.05.20030124/ghc/compiler/parser/ParserCore.hs >> hc-files-to-go echo ghc-5.05.20030124/ghc/compiler/main/ParsePkgConf.hs >> hc-files-to-go echo ghc-5.05.20030124/libraries/haskell-src/Language/Haskell/Parser.hs >> hc-files-to-go tar czf ghc-5.05.20030124-i386-unknown-linux-hc.tar.gz `cat hc-files-to-go` 21.20user 2.77system 0:46.46elapsed 51%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (6897major+4805minor)pagefaults 0swaps