rm -f -r ghc-5.04.3 ln -s . ghc-5.04.3 /usr/bin/find ghc-5.04.3/ghc/compiler \ ghc-5.04.3/ghc/driver \ ghc-5.04.3/libraries \ ghc-5.04.3/hslibs \ \( -name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" \) -print > hc-files-to-go for f in `/usr/bin/find ghc-5.04.3/ghc/compiler ghc-5.04.3/ghc/driver ghc-5.04.3/libraries ghc-5.04.3/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.04.3/libraries/base/GHC/PrimopWrappers.hs >> hc-files-to-go echo ghc-5.04.3/ghc/compiler/*.hs-incl >> hc-files-to-go echo ghc-5.04.3/ghc/compiler/parser/Parser.hs >> hc-files-to-go echo ghc-5.04.3/ghc/compiler/parser/ParserCore.hs >> hc-files-to-go echo ghc-5.04.3/ghc/compiler/main/ParsePkgConf.hs >> hc-files-to-go echo ghc-5.04.3/libraries/haskell-src/Language/Haskell/Parser.hs >> hc-files-to-go tar czf ghc-5.04.3-i386-unknown-linux-hc.tar.gz `cat hc-files-to-go` 25.46user 3.20system 0:52.20elapsed 54%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (4807major+2403minor)pagefaults 0swaps