coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature request: self join from stdin


From: Bernhard Voelker
Subject: Re: feature request: self join from stdin
Date: Wed, 23 Oct 2019 08:44:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0

On 2019-10-21 08:28, Rasmus Borup Hansen wrote:
> [...] e.g. this hangs on my machine:
> 
> mkfifo fifo && seq -s , 20000 | tee fifo | join -j2 - fifo | paste -s && rm 
> fifo

okay, then better use a regular file, and join that with itself:

  $ seq -s , 20000 > x

  $ join -j2 x x  | paste -s
   1,2,3,4,5,6,[...]

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]