I'll try and explain my thoughts at the time :

In fact, even considering your pipeline as a black box :

- I didn't have the output I expected (I wanted "AX" one the first line, etc., but I had only "A" on the first line, etc.)

- as I saw one letter on each line on the console, I thought that it needed a "join" to put two letters together, and that *you* didn't put the "join" because it was an obvious ending and/or because you answered quickly

- but playing with this pipeline gave strange outputs ... I didn't help me, it puzzled me ...

- and unfortunately, I don't know how "synchronize", "juxtapose", "instore" and "outstore" work. I tried to read the docs about "synchronize" and "juxtapose", but gave up (that's not the first time I give up on these two stages !).

The box didn't do what I wanted, I didn't understand its inside, and it had a strange behaviour.
That's the moment when I'm calling for help !

Now I can play with your pipeline, and try to understand its stages.
Understand new things is always exciting !
(realize that I can't see what's in front of me is not ^^)

(by the way, one thing I didn't think of at the time, was to search for occurences of "juxtapose" and its friends in the forum. I'll do that ...)

Thanks again for your help,
Michaël

-----Message d'origine-----
De : Rob van der Heij <[email protected]>
Envoyé : 19/11/2010 09:41
À : [email protected] <[email protected]>
Cc :
Objet : Re: N1 records x N2 records -> N1xN2 records ?
On Fri, Nov 19, 2010 at 9:35 AM, DUGALEIX Michaël
<[email protected]>  wrote:
Ehm ... Not so silly  ! Congratulation.
That's exactly the situation.

Now I understand what's happening on the console and in my output file ...
Sorry I didn't notice the output file was 160 wide, shame on me ...

Using now "strip" after I read the files, my output is indeed correct.

Good. So now that it works, it makes sense that you understand why... ;-)
I thought my explanation should get you started, but tell me where I lost you.

Part of the trick is   instore | dup | outstore    Since you have
these small files handy, look at what it does (and compare with plain
"dup" for it)

| Rob

Reply via email to