Gordon Tetlow 1d7c660a13 If LANG/LC_CTYPE/LC_ALL is set and the localized man page contains a page
also in the base set, the man utility when invoked with -a would display
pages for each locale in the same tree:

$ LANG=en_GB.ISO8859-15 man -wa man
/usr/share/man/en.ISO8859-15/man1/man.1.gz
/usr/share/man/man1/man.1.gz
/usr/share/man/en.ISO8859-15/man7/man.7.gz
/usr/share/man/man7/man.7.gz

Use continue to break out of the loop for the current locale. This results
in behavior more closely matching the old GNU man implementation:

$ LANG=en_GB.ISO8859-15 man -wa man
/usr/share/man/en.ISO8859-15/man1/man.1.gz
/usr/share/man/en.ISO8859-15/man7/man.7.gz

This will still search for a copy of the file in other manual path
locations. If there was a /usr/local/man/man1/man.1.gz file, it would still
be displayed. This is also consistent with the GNU man implementation.

Submitted by:	arundel
Approved by:	wes (mentor implicit)
2010-10-06 07:22:56 +00:00
..
2010-07-30 11:58:18 +00:00
2010-01-02 10:09:20 +00:00
2010-01-15 16:01:22 +00:00
2010-05-11 23:08:22 +00:00
2010-07-15 00:04:14 +00:00
2010-09-06 20:40:38 +00:00
2009-04-01 08:33:54 +00:00
2010-08-06 14:33:42 +00:00
2010-02-09 10:47:44 +00:00
2010-02-26 09:41:16 +00:00
2010-08-06 14:33:42 +00:00
2010-07-14 17:46:44 +00:00
2010-04-02 11:05:59 +00:00
2010-06-02 10:20:23 +00:00
2009-06-23 23:17:04 +00:00
2010-07-14 18:28:46 +00:00
2010-01-02 10:09:20 +00:00
2010-08-23 22:24:11 +00:00
2010-03-02 16:58:04 +00:00
2010-06-28 08:30:10 +00:00
2010-07-12 17:18:58 +00:00
2010-03-22 21:19:17 +00:00
2009-12-13 03:18:37 +00:00
2010-10-05 05:15:27 +00:00
2010-06-02 10:20:23 +00:00
2010-02-26 13:48:04 +00:00
2010-03-08 20:45:52 +00:00
2010-01-02 10:09:20 +00:00
2010-05-06 21:57:38 +00:00
2010-08-06 14:33:42 +00:00
2010-09-24 10:40:17 +00:00
2010-09-29 22:24:18 +00:00
2010-08-01 09:10:09 +00:00
2010-03-09 21:06:01 +00:00
2009-12-13 04:14:55 +00:00
2010-06-15 04:47:16 +00:00
2010-06-19 16:24:55 +00:00