File: __mt

package info (click to toggle)
afbackup 3.1beta1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,500 kB
  • ctags: 1,685
  • sloc: ansic: 22,406; csh: 3,597; tcl: 964; sh: 403; makefile: 200
file content (13 lines) | stat: -rwxr-xr-x 227 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/csh -f

set n=$#argv
if ($n >= 2) then
  @ m=$n - 1
  set cmd=$argv[$m]
  set num=$argv[$n]
  if(($cmd == "bsf" || $cmd == "fsf" || $cmd == "fsr" || $cmd == "bsr") && $num == 0) then
    exit 0
  endif
endif

exec mt $*