Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11837

Re: Paste with null delimiter

Path csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail
From Stephane Chazelas <stephane.chazelas@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Paste with null delimiter
Date Wed, 4 Nov 2015 15:44:34 +0000
Lines 29
Approved bug-bash@gnu.org
Message-ID <mailman.1689.1446651882.7904.bug-bash@gnu.org> (permalink)
References <3a207f09-fc2b-4a2e-a6e5-1d33c7479849@googlegroups.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1446651883 14526 208.118.235.17 (4 Nov 2015 15:44:43 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To julio.neves@gmail.com
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=iFtkL9K1UAb90LmrLrIFloYg6fbrJ57tDFxab5R6dGE=; b=C6eO2e1c3YfSWiKCDDUUWOeo2IHyXbFGw4MnSS3m0YnzdNzYALya81Zbi5f1i1vis2 zjyA2K7o1ov+nn8lMbXr1ikFQWQp1RnjWn1RhE6OcuCKFs/u2NiIGKjilSeweimwhOEB U/BU2wbNAfQddRMKkiF24faVvRjf5QpgWM7vpK6qVK4WOxWcrYOvx4Xsboihj8OPd3Jo qgZPH/ZoQ+IfpKYzzuSjNnqDjWglJchybM4nzNeuxga0Xi9NVel5dRCfkr8LDDomIBKa Moz0PFFlW9ptI7c+AYtGD8IpzQbhJgOtrjnpR9kbuvfUHGSSphuqlCwtKdZI7Jf5PVt6 6cQA==
X-Received by 10.28.212.8 with SMTP id l8mr4443228wmg.32.1446651875813; Wed, 04 Nov 2015 07:44:35 -0800 (PST)
Content-Disposition inline
In-Reply-To <3a207f09-fc2b-4a2e-a6e5-1d33c7479849@googlegroups.com>
User-Agent Mutt/1.5.21 (2010-09-15)
X-detected-operating-system by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value).
X-Received-From 2a00:1450:400c:c09::234
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11837

Show key headers only | View raw


2015-11-03 08:29:17 -0800, julio.neves@gmail.com:
[...]
> $ paste -d "" odd even
[...]

Note that the portable and standard way to paste with no
separator is:

paste -d '\0' odd even

(no, it doesn't insert NUL characters).

not

paste -d '' odd even

which is not standard and won't work with all paste
implementations.

With traditional paste implementations:

$ paste -d '' a b
paste: no delimiters

-- 
Stephane


Back to gnu.bash.bug | Previous | NextPrevious in thread | Find similar


Thread

Paste with null delimiter julio.neves@gmail.com - 2015-11-03 08:29 -0800
  Re: Paste with null delimiter Eric Blake <eblake@redhat.com> - 2015-11-03 10:41 -0700
  Re: Paste with null delimiter Andreas Schwab <schwab@linux-m68k.org> - 2015-11-03 18:47 +0100
  Re: Paste with null delimiter Eric Blake <eblake@redhat.com> - 2015-11-03 13:32 -0700
  Re: Paste with null delimiter Eric Blake <eblake@redhat.com> - 2015-11-03 13:43 -0700
  Re: Paste with null delimiter Eric Blake <eblake@redhat.com> - 2015-11-03 13:52 -0700
  Re: Paste with null delimiter Andreas Schwab <schwab@linux-m68k.org> - 2015-11-03 22:57 +0100
  Re: Paste with null delimiter Stephane Chazelas <stephane.chazelas@gmail.com> - 2015-11-04 15:44 +0000

csiph-web