vs for command line tools in the docs

Поиск
Список
Период
Сортировка
От ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Тема vs for command line tools in the docs
Дата
Msg-id 87r1u8o4ty.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответы Re: vs for command line tools in the docs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi Hackers,

While I was looking at linkifying SQL commands in the system catalog
docs, I noticed that catalog.sgml uses the <command> tag to refer to
initdb, while I'd expected it to use <application>.

Looking for patterns, I grepped for the two tags with contents
consisting only of lower-case letters, numbers, hyphens and underscores,
to restrict it to things that look like shell command names, not SQL
commands or full command lines.  When referring to binaries shipped with
postgres itself, <application> is by far the most common, except for
initdb, postgres, ecpg, pg_ctl, pg_resetwal, and pg_config.  For
external programs it's more of a mix, but overall there are more than
twice as many instances of <application> of this form than of <command>.

I'm not proposing going throuhgh all 1500+ instances in one fell swoop,
but some consistency (and a policy going forward) would be nice.

- ilmari
-- 
"A disappointingly low fraction of the human race is,
 at any given time, on fire." - Stig Sandbeck Mathisen



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Missing links between system catalog documentation pages
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [PATCH] Missing links between system catalog documentation pages