Mercurial > hg > xemacs-beta
comparison lib-src/gzip-el.sh @ 30:ec9a17fef872 r19-15b98
Import from CVS: tag r19-15b98
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:52:29 +0200 |
parents | |
children | 6075d714658b |
comparison
equal
deleted
inserted
replaced
29:7976500f47f9 | 30:ec9a17fef872 |
---|---|
1 #! /bin/sh | |
2 ### gzip-el.sh --- compress superfluous installed source lisp | |
3 | |
4 # Author: Jeff Miller <jmiller@bay1.bayserve.net> | |
5 # Author: Hrvoje Niksic <hniksic@srce.hr> | |
6 # Maintainer: Steve Baur <steve@altair.xemacs.org> | |
7 # Created: 13 Feb 1997 | |
8 # Version: 1.0 | |
9 # Keywords: internal | |
10 | |
11 | |
12 # | |
13 # | |
14 echo Compressing .el files in "$1"... | |
15 | |
16 find "$1" -type f -name "*.el" -print | | |
17 while read file; do | |
18 [ -s "${file}c" ] && echo "$file" && gzip -f9 "$file" | |
19 done | |
20 | |
21 echo Compressing .el files in "$1"...done. |