aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-01-11 19:22:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-01-11 19:45:28 +1300
commit345d5179236da579bed62a13a36bd34f86e09704 (patch)
tree5ebe6ce28df42c38e2aa87c335cf28a91eedce9d /man
parentMake newline explicit for ax(1df) (diff)
downloaddotfiles-345d5179236da579bed62a13a36bd34f86e09704.tar.gz
dotfiles-345d5179236da579bed62a13a36bd34f86e09704.zip
Separate ax(1df) manpage args from command
Just for a clearer visual distinction. This probably needs to be done for other manual pages, too. We use zero-width characters (\&) at the start of the lines beginning with apostrophes so that they get printed literally.
Diffstat (limited to 'man')
-rw-r--r--man/man1/ax.1df6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/man1/ax.1df b/man/man1/ax.1df
index a1513e06..40125167 100644
--- a/man/man1/ax.1df
+++ b/man/man1/ax.1df
@@ -3,9 +3,11 @@
.B ax
\- evaluate an awk expression
.SH SYNOPSIS
-.B ax '2.0+3.0'
+.B ax
+\&'2.0+3.0'
.br
-.B ax '%.2f\n' 'sin(2)'
+.B ax
+\&'%.2f\\n' 'sin(2)'
.SH DESCRIPTION
.B ax
evaluates an expression given on the command line with awk(1) and prints its