commit 1ba2bcf97d8ea671f4139b51f92c578d45b360bc from: Josiah Frentsos via: Omar Polo date: Sat Jan 07 09:24:31 2023 UTC various tweaks to the template man pages diff from Josiah Frentsos, thanks! commit - 85ed8715a24134c06d665fedb9370fb9da05ab14 commit + 1ba2bcf97d8ea671f4139b51f92c578d45b360bc blob - 4c3a752a31718ca8ad29543f9f2f61b00c13cc4e blob + 48765fbe52f01bd15fa5126aa7f5d4029d94172e --- template/template.1 +++ template/template.1 @@ -12,7 +12,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd November 25, 2022 +.Dd January 06, 2022 .Dt TEMPLATE 1 .Os .Sh NAME @@ -48,7 +48,7 @@ will be created or truncated if exists and will be rem encounters any error. .El .Sh EXIT STATUS -.Ex +.Ex -std .Sh SEE ALSO .Xr template 7 .Sh AUTHORS blob - d597d0f8b8f0cf42f990ff9e52f6984d86b56b0f blob + c344796aaae84d607d9948f2ace4f85729f3c7d8 --- template/template.7 +++ template/template.7 @@ -12,7 +12,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd November 25, 2022 +.Dd January 06, 2022 .Dt TEMPLATE 7 .Os .Sh NAME @@ -65,7 +65,7 @@ Here's an example of a block: .Ed .Ss SPECIAL SYNTAX This section is a reference for all the special syntaxes supported. -.Bl -tag -indent Ds +.Bl -tag -width Ds .It Cm {{ Ic include Ar file Cm }} Include additional template files. .It Cm {{ Ic define Ar name Ns ( Ar arguments ... ) Cm }} Ar body Cm {{ Ic end Cm }} @@ -104,11 +104,11 @@ Looping construct similar to the C for loop. Looping construct similar to the queue.h macro TAILQ_FOREACH. .It Cm {{ Ic while Ar ... Cm }} Ar ... Cm {{ Ic end Cm }} Looping construct similar to the C while loop. -.It Cm {{ Ar expression Cm | Ic unsafe Cm }} +.It Cm {{ Ar expression Cm \&| Ic unsafe Cm }} Output .Ar expression as-is. -.It Cm {{ Ar expression Cm | Ic urlescape Cm }} +.It Cm {{ Ar expression Cm \&| Ic urlescape Cm }} Output .Ar expression escaped in a way that can be made part of an URL. @@ -124,4 +124,4 @@ with the default escaping. The .Nm reference was written by -.Ar Omar Polo Aq Mt op@openbsd.org . +.An Omar Polo Aq Mt op@openbsd.org .