mirror of https://github.com/mkerrisk/man-pages
34afcb0dad
I clarified the code about two things: - Checking how many arguments are being passed. Here, some functions didn't reject extra arguments when they weren't being used. Fix that. I also changed the code to use $#, which is more explicit. And use arithmetic expressions, which better indicate that we're dealing with numbers. - Remove unneeded options from sort. Reported-by: Stefan Puiu <stefan.puiu@gmail.com> After Stefan asked about why am I using 'sort -V', I noticed that I really don't need '-V', and it may confuse people trying to understand the script, so even though I slightly prefer the output of 'sort -V', in this case, it's better to use the simpler 'sort' (yet I need 'sort', to maintain consistency in the results (find is quite random)). Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com> |
||
---|---|---|
.. | ||
FIXME_list.sh | ||
README | ||
add_parens_for_own_funcs.sh | ||
bash_aliases | ||
check_unbalanced_macros.sh | ||
convert_to_utf_8.sh | ||
find_dots_no_parens.sh | ||
find_repeated_words.sh | ||
find_slashes_no_parens.sh | ||
man_show_fixme.sh | ||
markup_check.sh | ||
print_encoding.sh | ||
remove_COLOPHON.sh | ||
unformat_parens.sh |
README
The files in this directory are scripts for man-pages maintenance tasks. They may be useful for downstream man-pages package maintainers or for man-pages translators. This directory does not contain any files that need to be installed in order to use the manual pages.