aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/paste/paste.1
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-06-10 08:50:56 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-06-10 08:50:56 +0000
commit76d70052fbe5d4e1d9e9976a3a30c7159c13b459 (patch)
treeec60d9ee0e70f6f3144f0f6c420430127c051036 /usr.bin/paste/paste.1
parente7cc3a2191f47ba549e0f61127f206ca4b246a77 (diff)
downloadsrc-76d70052fbe5d4e1d9e9976a3a30c7159c13b459.tar.gz
src-76d70052fbe5d4e1d9e9976a3a30c7159c13b459.zip
Add an EXAMPLES section with three examples. Document the problem with
multibyte characters and the -d option in a BUGS section.
Notes
Notes: svn path=/head/; revision=98089
Diffstat (limited to 'usr.bin/paste/paste.1')
-rw-r--r--usr.bin/paste/paste.117
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/paste/paste.1 b/usr.bin/paste/paste.1
index 020fb04efb25..5fa2d8d3868b 100644
--- a/usr.bin/paste/paste.1
+++ b/usr.bin/paste/paste.1
@@ -110,6 +110,19 @@ is specified for one or more of the input files, the standard
input is used; standard input is read one line at a time, circularly,
for each instance of
.Ql Fl .
+.Sh EXAMPLES
+List the files in the current directory in three columns:
+.Pp
+.Dl "ls | paste - - -"
+.Pp
+Combine pairs of lines from a file into single lines:
+.Pp
+.Dl "paste -s -d '\et\en' myfile"
+.Pp
+Number the lines in a file, similar to
+.Xr nl 1 :
+.Pp
+.Dl "sed = myfile | paste -s -d '\et\en' - -"
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO
@@ -121,3 +134,7 @@ The
utility is expected to be
.St -p1003.2
compatible.
+.Sh BUGS
+Multibyte character delimiters cannot be specified with the
+.Fl d
+option.