projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git]
/
examples
/
functions
/
manpage
diff --git
a/examples/functions/manpage
b/examples/functions/manpage
index
3fdc7ac
..
224643e
100644
(file)
--- a/
examples/functions/manpage
+++ b/
examples/functions/manpage
@@
-25,7
+25,7
@@
function manpage ()
set $file
file="$1"
if [ -f "$file" ]; then
- zot=$(
head -1
"$file")
+ zot=$(
sed 1q
"$file")
cmd=${MANROFF:-"nroff -man - | col | cat -s"}
h=${zot##"'"'\"'}
if [ "$h" != "$zot" ]; then