diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-02-24 10:14:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-02-24 10:14:28 +1300 |
commit | 949d55ab57d690f80a530acc7d674055bc8e3814 (patch) | |
tree | 5c7c94c02cd58105d9219bb0f560930303e32f80 /man/man1/tl.1 | |
parent | Update submodules (diff) | |
download | dotfiles-949d55ab57d690f80a530acc7d674055bc8e3814.tar.gz dotfiles-949d55ab57d690f80a530acc7d674055bc8e3814.zip |
Add tl(1) and tlcs(1)
Diffstat (limited to 'man/man1/tl.1')
-rw-r--r-- | man/man1/tl.1 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/man/man1/tl.1 b/man/man1/tl.1 new file mode 100644 index 00000000..7560debb --- /dev/null +++ b/man/man1/tl.1 @@ -0,0 +1,21 @@ +.TH TL 1 "February 2016" "Manual page for tl" +.SH NAME +.B tl +\- tag lines with a string prefix or suffix +.SH USAGE +.B tl [-h] [-p PREFIX] [-s SUFFIX] [--] [FILE1 FILE2 ...] +.SH DESCRIPTION +Tag lines from files or stdin with a string prefix or suffix before writing +them to stdout. Specifying neither prefix nor suffix is acceptable, in which +case the stream is simply reproduced on stdout, acting like cat(1). +.P +Option -h gives help. Specify a prefix with -p, and/or a suffix with -s. If no +file arguments are given, defaults to reading standard input. +.P + $ tl -p 'file: ' /path/to/file + $ dmesg | tl -s ' (stdout)' +.SH SEE ALSO +tlcs(1) +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> + |