File: help

package info (click to toggle)
kernel-wedge 2.106
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 396 kB
  • sloc: perl: 581; sh: 352; makefile: 21
file content (12 lines) | stat: -rwxr-xr-x 220 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
LIBDIR=/usr/share/kernel-wedge/commands
set -e
command=$1
if [ -z "$command" ]; then
	kernel-wedge
fi
if [ ! -x "$LIBDIR/$command" ]; then
	echo "No such command."
	exit 1
fi
exec man 1 "kernel-wedge-$command"