]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: paste: give a CSV generation example
authorPádraig Brady <P@draigBrady.com>
Thu, 15 Jan 2026 15:22:49 +0000 (15:22 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 15 Jan 2026 15:54:18 +0000 (15:54 +0000)
* doc/coreutils.texi (paste invocation): Provide an example
to comma separate data.

doc/coreutils.texi

index 64e731f06d529a635d5c477a578e74d09eb6aff3..e324b886dd6d15d2c6c34bfb71da93bd0e60596f 100644 (file)
@@ -6269,6 +6269,12 @@ $ seq 4 | paste -d ' ' - -
 3 4
 @end example
 
+Comma separate data:
+@example
+$ seq 4 | paste -s -d ','
+1,2,3,4
+@end example
+
 The program accepts the following options.  Also see @ref{Common options}.
 
 @table @samp