Re: syntax of options in man1

Alejandro Colomar <[email protected]> Fri, 17 Jul 2026 14:10:23 +0200
Newsgroups org.kernel.vger.linux-man
Message-ID <alobDcKZVkwVqzRx@devuan>
Hi Doug,

On 2026-07-16T13:19:20-0400, Douglas McIlroy wrote:
> > I think there should be a separation between an introduction to the
> > entire system (maybe this could be intro(0)), and an introduction to the
> > first section of the manual (intro(1)).
> 
> I agree. In the early days, at least, there was such a section, called
> "getting started". I like the idea of calling it intro(0). The very name
> suggests that there are more intro(.) pages. Elegant!

Thanks!  I've done the split already.

	commit 214f536963b0a108abc54b336d8ac21b4c9f1c7f
	Author: Alejandro Colomar <[email protected]>
	Date:   2026-07-17 14:05:19 +0200

	    man/man?/intro.[01]: Split part of intro(1) into a new intro(0)
	    
	    Let's keep intro(1) for introducing just the man1 section, and move the
	    more general introduction of the entire manual to a new intro(0).
	    
	    Acked-by: Douglas McIlroy <[email protected]>
	    Signed-off-by: Alejandro Colomar <[email protected]>

I haven't yet documented the syntax we were talking about, though.  I'll
think about the best way to document that.

Here's how intro(1) looks like now:

	$ MANWIDTH=64 man man1/intro.1 | cat
	intro(1)            General Commands Manual            intro(1)

	NAME
	     intro - introduction to user commands

	DESCRIPTION
	     Section 1 of the manual describes user commands and tools,
	     for  example,  file manipulation tools, shells, compilers,
	     web browsers, file and image viewers and editors,  and  so
	     on.

	SEE ALSO
	     intro(0)

	Linux man‐pages (unreleased) (date)                    intro(1)


Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmpaG64ACgkQ64mZXMKQ
wqm9gxAAox8eG4dCUILkeszszE7o4uqdvdOLCmDS+AoBQOuUD3p7QF9ZTFN+BbxG
EyoQDMC0/smUe0ujTtx27BCZwLvZUIjRCz+tYUClZOz+1lgjGKOarrTiywsYhFiG
DgL+mPEJh0vpUXSyE+JhoQbDHN7J1KNLVsyTGlodbmwX2hUai+ZFqiJX/WF6v0xq
70Ln3hxKjnmO+F1TRRT8Ab+HB8CDO4kF5t4w0HBMuIPJ9pOsLIT2qjqdEz0KBzwv
6roGnyl80zZ5qdRFv0N8WSC6rBv5OqCCUSw2ZZV9jeeH7f0aO9hPzJtwMEClI9Lh
y3ILTnLFV/12kFP4Os5VH9wOk/AKlohXSOpuVzvvuaMVT+G4RMY5LksJiCLLjB0y
TwO8EpWDxbpzU83/gN5CPrMAEAHVZDXaOYuhASJLRzRBEHWahU7kQ8IU26jZAbZE
UvIqMsd8tJEJG6N7oRVyBoxHyjA34CVUc2yjYFR7AFXNJ3m0rFiNJxYCPdRPxdbJ
0PPopRB12KIFUCvN5HjNOfNNLTWPAhC19oHKsQTvlhxasBJ5cHx+UV6bi+At3W+T
QeLrPCHXp9EmtEXZVxEu0VajsO8jeTpyzybYEyV1HVAWTQ5N5na3225C4w9Ndc+P
PcAgRbxafNx1Zu5hgT3W3tdQsfUjBSVPg5hctQLK/e47kkxLTd4=
=nRbU
-----END PGP SIGNATURE-----