aboutsummaryrefslogtreecommitdiffstats
path: root/texinfo/bash-aliases
blob: b52e4e84a9abc298043b095be94e5bb7cbaee0cd (plain) (blame)
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
27
28
29
30
# -*- shell-script -*-

#DESCRIPTION:  Open a programs info manual and open the invoking chapter
#USAGE:        iv [program]

iv () {
	__texinfo="$1"
	shift 1
	info "(${__texinfo})" invoking "$@"
	unset __texinfo
}


#DESCRIPTION:  Open a programs info manual and try to select a usage page
#USAGE:        iu [program] [node]

iu () {
	info --usage "$@"
}


#DESCRIPTION:  Open a programs info manual
#USAGE:        i [program] [node]

i () {
	__texinfo="$1"
	shift 1
	info "(${__texinfo})" "$@"
	unset __texinfo
}