File: __mt

package info (click to toggle)
afbackup 3.3.6pl4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,872 kB
  • ctags: 3,143
  • sloc: ansic: 44,316; tcl: 4,189; sh: 2,263; csh: 2,077; makefile: 566; sed: 93; perl: 80
file content (26 lines) | stat: -rwxr-xr-x 606 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
################### Start of $RCSfile: __mt,v $ ##################
#
# $Source: /home/alb/afbackup/afbackup-3.3.6/RCS/__mt,v $
# $Id: __mt,v 1.1 2001/11/02 10:37:28 alb Exp alb $
# $Date: 2001/11/02 10:37:28 $
# $Author: alb $
#
#
####### description ################################################
#
#
#
####################################################################

n=$#
if [ $n -ge 2 ] ; then
  m=`expr $n - 1`
  eval cmd='$'$m
  eval num='$'$n
  if [ '(' "$cmd" = "bsf" -o "$cmd" = "fsf" -o "$cmd" = "fsr" -o "$cmd" = "bsr" ')' -a $num -eq 0 ] ; then
    exit 0
  fi
fi

exec mt "$@"