From 3b226d19bb19a87eb565f3e1d16e14f446b56e76 Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 27 Aug 2024 22:25:00 +0000 Subject: deploy: 9b47b98b7c5efce0bf50d57aa5d7e374bcbabf23 --- cli/paste.html | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 247 insertions(+) create mode 100644 cli/paste.html (limited to 'cli/paste.html') diff --git a/cli/paste.html b/cli/paste.html new file mode 100644 index 0000000..23e3c38 --- /dev/null +++ b/cli/paste.html @@ -0,0 +1,247 @@ + + + + + + paste - Notes + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

paste(1)

+
# Concatenate input files linewise and join them by a TAB char.
+
+paste FILE [FILE]
+    -d CHAR     delimiter to join each line
+
+

Examples

+
# Read two files.
+paste <(echo -e 'a1\na2') <(echo -e 'b1\nb2')
+a1	b1
+a2	b2
+
+# Can read from stdin.
+echo -e 'a1 a2\nb1 b2\nc1 c2\nd1 d2' | paste - -
+# a1 a2	b1 b2
+# c1 c2	d1 d2
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + +
+ + -- cgit v1.2.3