Mantis - textutils
Viewing Issue Advanced Details
98 other feature always 2003-05-21 10:52 2010-06-26 21:47
james  
phil  
normal  
closed  
no change required  
none    
none  
0000098: program names in man pages do not match program names
The program names have a \'g\' prefix but the man pages do not. During build of the package the following should work:

for file in cswstage/opt/csw/share/man/man1/*
do
    name=${file##*/g}
    name=${name%.1}
    NAME=$(echo $name | tr \'qwertyuioplkjhgfdsazxcvbnm\' \'QWERTYUIOPLKJHGFDSAZXCVBNM\')
    sed -e s/\\\\\\<$name\\\\\\>/g$name/g -e s/\\\\\\<$NAME\\\\\\>/G$NAME/g < $i > $i.new
    [ -s $file.new ] && mv $file.new $file
done

Issue History
2010-06-26 21:47 phil Note Added: 0008067
2010-06-26 21:47 phil Status assigned => closed
2010-06-26 21:47 phil Resolution open => no change required

Notes
(0000116)
james   
2003-05-22 11:54   
The same applies to CSW packages: fileutils, findutils, diffutils, textutils and maybe some others. Will this note suffice or should I register the request with each?

[Whoops, make that \" < $file > $file.new\" above.]
(0000118)
james   
2003-05-23 11:24   
(edited on: 2004-09-29 11:28)
Another thought, but which relates to the other packages with the gnaming and not textutils, the example auto edit above won\'t catch the references to other programs, eg, at the bottom of man page for gfind, the \"SEE ALSO\" section doesn\'t refer to the gprogams. ... And the findutils man pages are not in section 1L of the man system.

This lack of gnaming is what is gnackering the windex, isn\'t it?

$ man cat
windex entry incorrect: cat(1) not found.
Reformatting page. Please Wait... done
...

$ man -k md5
...
md5sum md5sum (1) - compute and check MD5 message digest
...
$ man md5sum
windex entry incorrect: md5sum(1) not found.
No manual entry for md5sum.
$

gnash, gnarl, gnaw.

edited on: 09-29 08:23

edited on: 09-29 08:27
(0008067)
phil   
2010-06-26 21:47   
obsolete package