~nilium/go-fex

7007611cea5448e4b22f45ebe50739f5837bd828 — Noel Cower 4 years ago e053c8a master v0.1.0
Fix N:M usage in docs

Consistency's nice.
2 files changed, 4 insertions(+), 4 deletions(-)

M README.adoc
M fex.1
M README.adoc => README.adoc +2 -2
@@ 90,9 90,9 @@ Example selecting fields 1 to 3, and 5: `{1:3,5}`
    a b c e
--

*{<M:N} (reversed)*::
*{<N:M} (reversed)*::
--
The {<M:N} notation reverses the output of the fields M:N. This applies only to
The {<N:M} notation reverses the output of the fields N:M. This applies only to
N:M, so you can mix and match to reverse only a subset of fields. For example:

    % echo 1 2 3 4 | fex '{<1:-2,-1}'

M fex.1 => fex.1 +2 -2
@@ 130,11 130,11 @@ a b c e
.fi
.if n .RE
.sp
\fB{<M:N} (reversed)\fP
\fB{<N:M} (reversed)\fP
.RS 4
.RE
.sp
The {<M:N} notation reverses the output of the fields M:N. This applies only to
The {<N:M} notation reverses the output of the fields N:M. This applies only to
N:M, so you can mix and match to reverse only a subset of fields. For example:
.sp
.if n .RS 4