tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

asn1parse & man warts



Is asn1parse(1) supposed to be in 7.0?  It's mentioned under the wrong
name in apropos(1), but is not included in any set.  

$ for F in *.tgz; \
do pax -zf $F | grep asn1parse; done 
./usr/share/man/html1/openssl_asn1parse.html
./usr/share/man/man1/openssl_asn1parse.1

$ man -k -l asn 
d2i_ASN1_OBJECT(3) - ASN1 OBJECT IDENTIFIER functions
RSA_sign_ASN1_OCTET_STRING(3) - RSA signatures
ASN1_generate_nconf(3) - ASN1 generation functions
ASN1_STRING_new(3) - ASN1_STRING allocation functions
ASN1_STRING_dup(3) - ASN1_STRING utility functions
ASN1_OBJECT_new(3) - allocation functions
ASN1_STRING_print_ex(3) - ASN1_STRING output routines.
asn1parse(1) - ASN.1 parsing tool

$ man -w asn1parse
man: no entry for asn1parse in the manual.

$ man -w openssl_asn1parse
/usr/share/man/man1/openssl_asn1parse.1

In passing I'd like to mention a couple of minor issues: 

1.  The synopsis for "man -k" in the manual is incorrect.  Current
behavior is to drop "-k" from argv and exec apropos.  That means all
other flags are passed to apropos, and 

	$ man man | col -b | grep -E 'man -k'
	man: Formatting manual page...
	     man -k [-C file] [-M path] [-m path] keyword ...

is entirely wrong.  

(Why does man write a status message to stderr by default? It's been 20
years since it was true, as the source code says, that "this may take
awhile".)  

2.  Combining options (e.g. "man -kl") doesn't work.  ISTM that all
utilities that take single-letter options should allow them to be
combined.  

--jkl



Home | Main Index | Thread Index | Old Index