about summary refs log tree commit diff
path: root/man/mless.1
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-22 21:36:46 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-22 21:36:46 +0200
commit5927a3f2e37eb58585934bc0925c063796d9f49d (patch)
treecfb97090cc3565eb8f7a427123af950470c43e08 /man/mless.1
parent9a3d45785e0c116159f90cce3f19cc2769baa1fb (diff)
downloadmblaze-5927a3f2e37eb58585934bc0925c063796d9f49d.tar.gz
mblaze-5927a3f2e37eb58585934bc0925c063796d9f49d.tar.xz
mblaze-5927a3f2e37eb58585934bc0925c063796d9f49d.zip
add manpages
Diffstat (limited to 'man/mless.1')
-rw-r--r--man/mless.155
1 files changed, 55 insertions, 0 deletions
diff --git a/man/mless.1 b/man/mless.1
new file mode 100644
index 0000000..c0a3a9c
--- /dev/null
+++ b/man/mless.1
@@ -0,0 +1,55 @@
+.Dd July 22, 2016
+.Dt MLESS 1
+.Os
+.Sh NAME
+.Nm mless
+.Nd interactive wrapper around mshow
+.Sh SYNOPSIS
+.Nm
+.Op Ar msgs\ ...
+.Sh DESCRIPTION
+.Nm
+runs
+.Xr less 1
+on the output of
+.Xr mshow 1
+for the given messages.
+See
+.Xr mmsg 5
+for the message argument syntax.
+.Pp
+When no messages are passed and standard input is from a pipe,
+.Xr msetseq 1
+will be called and
+.Nm
+is run on the resulting sequence.
+The first "file" of the less instance will be the output of
+.Xr mscan 1 .
+This makes
+.Nm
+convenient for use at the end of a pipe.
+.Pp
+.Nm
+will start
+.Xr less 1
+displaying the current message if possible.
+.Sh EXIT STATUS
+.Ex -std
+.Sh SEE ALSO
+.Xr less 1 ,
+.Xr mscan 1 ,
+.Xr msetseq 1 ,
+.Xr mshow 1 ,
+.Xr mmsg 5
+.Sh AUTHORS
+.An Christian Neukirchen Aq Mt chneukirchen@gmail.com
+.Sh LICENSE
+.Nm
+is in the public domain.
+.Pp
+To the extent possible under law,
+the creator of this work
+has waived all copyright and related or
+neighboring rights to this work.
+.Pp
+.Lk http://creativecommons.org/publicdomain/zero/1.0/