repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add tools
[hband-tools.git]
/
boilerplate
/
script.sh
blob
d4f0b172bb2f58810d0541dd6e052f65346cddfa
1
#!/bin/bash
2
3
true
<<'EOF'
4
=pod
5
6
=head1 NAME
7
8
name - description
9
10
=head1 SYNOPSIS
11
12
name [I<OPTIONS>] [--]
13
14
=head1 DESCRIPTION
15
16
=head1 OPTIONS
17
18
=over 4
19
20
=item -v, --verbose
21
22
=back
23
24
=head1 LIMITATIONS
25
26
=head1 SEE ALSO
27
28
=cut
29
30
EOF
31
32
33
set -e
34
set -o
pipefail
35
set -u
36
37
.
/
usr
/
lib
/
tool
/
bash-utils
38
39
40
opt_verbose
=
no
41
42
43
while
[
$#
!=
0
]
44
do
45
case
"
$1
"
in
46
--help
)
47
pod2text
"
$0
"
48
exit
0
49
;;
50
-v
|
--verbose
)
51
opt_verbose
=
yes
52
;;
53
--
)
54
shift
55
break
56
;;
57
-*)
58
errx
-1
"unknown option:
$1
"
59
;;
60
*)
61
break
62
;;
63
esac
64
shift
65
done
66
67