source: trunk/athena/bin/athrun/athrun.sh @ 14470

Revision 14470, 467 bytes checked in by ghudson, 24 years ago (diff)
athrun, a convenient user front end for attachandrun.
RevLine 
[14470]1#!/bin/sh
2# $Id: athrun.sh,v 1.1 2000-03-25 19:05:26 ghudson Exp $
3
4# A user front end to attachandrun.
5# "athrun moira" runs moira from the moira locker.
6# "athrun gnu gls -l" runs gls -l from the gnu locker.
7
8case $# in
90)
10  echo "Usage: athrun locker [program] [args ...]" >&2
11  exit 1
12  ;;
131)
14  exec /bin/athena/attachandrun "$1" "$1" "$1"
15  ;;
16*)
17  locker=$1
18  program=$2
19  shift 2;
20  exec /bin/athena/attachandrun "$locker" "$program" "$program" "$@"
21  ;;
22esac
Note: See TracBrowser for help on using the repository browser.