File: sman

package info (click to toggle)
saclib 2.2.8-6.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,872 kB
  • sloc: ansic: 40,932; csh: 1,190; asm: 541; awk: 320; sh: 246; perl: 116; makefile: 98; sed: 48
file content (17 lines) | stat: -rwxr-xr-x 267 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/tcsh

# USAGE:
#   sman <SAC function name>
#
# FUNCTION
#   Displays the SAC source file containing the given function.


if ($#argv < 1) then
  echo "USAGE:"
  echo "  sman <SAC function name>"
  perl $saclib/bin/svers.pl
else
  more $saclib/src/$1.c
endif