Cc: "G. Branden Robinson" <g.branden.robinson@xxxxxxxxx> Signed-off-by: Alejandro Colomar <alx@xxxxxxxxxx> --- man7/uri.7 | 51 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/man7/uri.7 b/man7/uri.7 index 19fe70f2f..51cf6b4e4 100644 --- a/man7/uri.7 +++ b/man7/uri.7 @@ -29,25 +29,38 @@ .SH NAME uri, url, urn \- uniform resource identifier (URI), including a URL or URN .SH SYNOPSIS -.nf -.HP 0.2i -URI = [ absoluteURI | relativeURI ] [ "#" fragment ] -.HP -absoluteURI = scheme ":" ( hierarchical_part | opaque_part ) -.HP -relativeURI = ( net_path | absolute_path | relative_path ) [ "?" query ] -.HP -scheme = "http" | "ftp" | "gopher" | "mailto" | "news" | "telnet" | - "file" | "man" | "info" | "whatis" | "ldap" | "wais" | \&... -.HP -hierarchical_part = ( net_path | absolute_path ) [ "?" query ] -.HP -net_path = "//" authority [ absolute_path ] -.HP -absolute_path = "/" path_segments -.HP -relative_path = relative_segment [ absolute_path ] -.fi +.SY URI += [ absoluteURI | relativeURI ] [ "#" fragment ] +.YS +.PP +.SY absoluteURI += scheme ":" ( hierarchical_part | opaque_part ) +.YS +.PP +.SY relativeURI += ( net_path | absolute_path | relative_path ) [ "?" query ] +.YS +.PP +.SY scheme += "http" | "ftp" | "gopher" | "mailto" | "news" | "telnet" | +"file" | "man" | "info" | "whatis" | "ldap" | "wais" | \&... +.YS +.PP +.SY hierarchical_part += ( net_path | absolute_path ) [ "?" query ] +.YS +.PP +.SY net_path += "//" authority [ absolute_path ] +.YS +.PP +.SY absolute_path += "/" path_segments +.YS +.PP +.SY relative_path += relative_segment [ absolute_path ] +.YS .SH DESCRIPTION A Uniform Resource Identifier (URI) is a short string of characters identifying an abstract or physical resource (for example, a web page). -- 2.40.1