Page MenuHomeFreeBSD

D32063.id95526.diff
No OneTemporary

D32063.id95526.diff

Index: usr.bin/man/man.sh
===================================================================
--- usr.bin/man/man.sh
+++ usr.bin/man/man.sh
@@ -243,6 +243,7 @@
manpath_parse_args() {
local cmd_arg
+ OPTIND=1
while getopts 'Ldq' cmd_arg; do
case "${cmd_arg}" in
L) Lflag=Lflag ;;
@@ -426,6 +427,7 @@
if [ -n "$MANROFFSEQ" ]; then
set -- -$MANROFFSEQ
+ OPTIND=1
while getopts 'egprtv' preproc_arg; do
case "${preproc_arg}" in
e) pipeline="$pipeline | $EQN" ;;
@@ -545,6 +547,7 @@
man_parse_args() {
local IFS cmd_arg
+ OPTIND=1
while getopts 'M:P:S:adfhkm:op:tw' cmd_arg; do
case "${cmd_arg}" in
M) MANPATH=$OPTARG ;;
@@ -933,6 +936,7 @@
# Parse commandline args for whatis and apropos.
whatis_parse_args() {
local cmd_arg
+ OPTIND=1
while getopts 'd' cmd_arg; do
case "${cmd_arg}" in
d) debug=$(( $debug + 1 )) ;;

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 13, 11:54 PM (7 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25269797
Default Alt Text
D32063.id95526.diff (870 B)

Event Timeline