GNU bug report logs -
#15529
paste documentation tweak
Previous Next
Reported by: karl <at> freefriends.org (Karl Berry)
Date: Fri, 4 Oct 2013 23:35:01 UTC
Severity: normal
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15529 in the body.
You can then email your comments to 15529 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#15529
; Package
coreutils
.
(Fri, 04 Oct 2013 23:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
karl <at> freefriends.org (Karl Berry)
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Fri, 04 Oct 2013 23:35:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I suggest the following small change to the paste node in the
documentation. Sorry I don't have the git-fu to give you the patch in
that format.
2013-10-04 Karl Berry <karl <at> gnu.org>
* coreutils.texi (paste invocation): Move synopsis to
above existing example; add second example for standard input.
--- ORIG/coreutils.texi 2013-02-11 01:37:28.000000000 -0800
+++ coreutils.texi 2013-10-04 16:31:13.602509258 -0700
@@ -5963,3 +5963,9 @@
-For example:
+Synopsis:
+
+@example
+paste [@var{option}]@dots{} [@var{file}]@dots{}
+@end example
+
+Example:
@@ -5979,8 +5985,2 @@
-Synopsis:
-
-@example
-paste [@var{option}]@dots{} [@var{file}]@dots{}
-@end example
-
The program accepts the following options. Also see @ref{Common options}.
@@ -6019,2 +6019,10 @@
+Here is another example, to paste together consecutive lines from
+standard input, with a delimiter of a space:
+
+@example
+$ cat num2 | paste -d"" - -
+1 2
+@end example
+
@exitstatus
Diff finished at Fri Oct 4 16:31:15
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Sat, 05 Oct 2013 02:54:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
karl <at> freefriends.org (Karl Berry)
:
bug acknowledged by developer.
(Sat, 05 Oct 2013 02:54:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 15529-done <at> debbugs.gnu.org (full text, mbox):
On 10/05/2013 12:34 AM, Karl Berry wrote:
> I suggest the following small change to the paste node in the
> documentation. Sorry I don't have the git-fu to give you the patch in
> that format.
>
> 2013-10-04 Karl Berry <karl <at> gnu.org>
>
> * coreutils.texi (paste invocation): Move synopsis to
> above existing example; add second example for standard input.
>
> --- ORIG/coreutils.texi 2013-02-11 01:37:28.000000000 -0800
> +++ coreutils.texi 2013-10-04 16:31:13.602509258 -0700
> @@ -5963,3 +5963,9 @@
>
> -For example:
> +Synopsis:
> +
> +@example
> +paste [@var{option}]@dots{} [@var{file}]@dots{}
> +@end example
> +
> +Example:
>
> @@ -5979,8 +5985,2 @@
>
> -Synopsis:
> -
> -@example
> -paste [@var{option}]@dots{} [@var{file}]@dots{}
> -@end example
> -
> The program accepts the following options. Also see @ref{Common options}.
> @@ -6019,2 +6019,10 @@
>
> +Here is another example, to paste together consecutive lines from
> +standard input, with a delimiter of a space:
> +
> +@example
> +$ cat num2 | paste -d"" - -
> +1 2
> +@end example
> +
> @exitstatus
>
> Diff finished at Fri Oct 4 16:31:15
Yes the `paste` examples could be better.
This might be a bit more instructive:
$ seq 4 | paste -d ' ' - -
1 2
3 4
Also this might be good for comparison:
$ seq 4 | paste -s -d ' '
1 2 3 4
I'll push something like that in the morning.
thanks,
Pádraig.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 02 Nov 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.