~ubuntu-branches/ubuntu/breezy/remind/breezy

« back to all changes in this revision

Viewing changes to scripts/rem

  • Committer: Bazaar Package Importer
  • Author(s): Javier Fernandez-Sanguino Pen~a
  • Date: 1999-02-19 13:36:15 UTC
  • Revision ID: james.westby@ubuntu.com-19990219133615-ovob95sord67b0ks
Tags: 03.00.22-1
* NMU upload, maintainer seems to be missing.
* Changed to main (now GPL) (Closes: #42402)
* New upstream version (Closes: #59447)
* Moved to use debconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#
 
3
# rem - by David Skoll - 26 February 1991
 
4
#
 
5
# $Id: rem,v 1.1 1998/01/15 02:50:21 dfs Exp $
 
6
#
 
7
# This script runs 'remind' with a default reminder file assumed.  You
 
8
# can override the default by using "rem -F newfile ..."  (But why would
 
9
# you use rem unless you wanted to accept the default??)
 
10
 
 
11
# ------ You may wish to change the defaults below this line ------
 
12
 
 
13
# The default reminder file
 
14
DEFAULT=$HOME/.reminders
 
15
 
 
16
# The executable file (you may wish to change this to /usr/local/bin/remind
 
17
# or whatever.
 
18
EXECUTABLE=remind
 
19
 
 
20
# No options yet
 
21
OPTIONS=""
 
22
 
 
23
# No parameters yet
 
24
PARAMETERS=""
 
25
 
 
26
# ------ You shouldn't change anything below this line -----
 
27
 
 
28
# Scan for options
 
29
while test "$1" != ""
 
30
do
 
31
        case $1 in
 
32
 
 
33
                -F) DEFAULT=$2
 
34
                    shift
 
35
                    shift ;;
 
36
 
 
37
                -*) OPTIONS="$OPTIONS $1"
 
38
                    shift ;;
 
39
 
 
40
                *) PARAMETERS=$*
 
41
                   break ;;
 
42
        esac
 
43
done
 
44
 
 
45
$EXECUTABLE $OPTIONS $DEFAULT $PARAMETERS