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: L A Walsh
Subject: Re: feature request: self join from stdin
Date: Sun, 25 Nov 2018 12:31:40 -0800
User-agent: Thunderbird

On 11/25/2018 11:00 AM, CoreUtils subscribtion for PLC wrote:
Xargs --max-args=2 exho
---
Does this look like below:
  seq 3|xargs --max-args=2  echo
  1 2
  3

$ seq 3 | join -j2 - - | paste -s
 1 1     1 2     1 3     2 1     2 2     2 3     3 1     3 2     3 3

Now wait, seq produces one '1', one '2', and one '3'. How are you getting pairs with 2 of each value in them? You'd have to have 2 copies of 'seq 3' to give you something like that. No more cheating!... :-)










reply via email to

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