comparison etc/aliases.ksh @ 249:83b3d10dcba9 r20-5b23

Import from CVS: tag r20-5b23
author cvs
date Mon, 13 Aug 2007 10:19:09 +0200
parents e70b3a057e12
children 74fd4e045ea6
comparison
equal deleted inserted replaced
248:ad40ac2754d8 249:83b3d10dcba9
22 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 22 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 # Boston, MA 02111-1307, USA. 23 # Boston, MA 02111-1307, USA.
24 24
25 # Shortcuts for sh-derived Unix shells (ksh, zsh, bash) 25 # Shortcuts for sh-derived Unix shells (ksh, zsh, bash)
26 26
27 # From Steve Baur <steve@altair.xemacs.org>
28 # Run temacs as XEmacs
27 function runtemacs 29 function runtemacs
28 { 30 {
29 if [ ! -x temacs ]; then 31 if [ ! -x temacs ]; then
30 echo "Must be in temacs source directory to run temacs." 32 echo "Must be in temacs source directory to run temacs."
31 return 1; 33 return 1;
32 fi 34 fi
33 35
34 ./temacs -batch -l loadup.el run-temacs "$@" 36 ./temacs -batch -l loadup.el run-temacs "$@"
35 } 37 }
38
39 # From Adrian Aichner <aichner@ecf.teradyne.com>
40 # Convenience function for running build-report
41 function mak
42 {
43 make "$@" 2>&1 | tee beta.err
44 }
45 # export -f mak
46
47 # From Karl Hegbloom <karlheg@bittersweet.inetarena.com>
48 # igrep from the shell command line
49 function listargs
50 {
51 for arg in "$@"; do
52 echo " \"$arg\""
53 done
54 }
55
56 function igrep
57 {
58 exp="$1"; shift
59 gnudoit -q "(igrep nil \"$exp\" '($(listargs "$@")))"
60 }