in reply to Re: passing pipes on the command line
in thread passing pipes on the command line

That would probably be:
join.pl <(sort -t, A.csv) <(grep LALA B.csv | sort -t,)

Replies are listed 'Best First'.
Re^3: passing pipes on the command line
by itub (Priest) on Mar 23, 2005 at 17:35 UTC
    Oops, you are right. I'm a victim of the cut-and-paste syndrome. :)
Re^3: passing pipes on the command line
by iradik (Novice) on Mar 23, 2005 at 19:36 UTC
    hmm.. nice... so that just passes a FIFO as the filename...

      Exactly. It's a very nice trick when you have a program that expects to read from a file, and has no facilities for reading from STDIN. A common example is diff:

      diff <(grep foo file1 | sort -u) \ <(grep foo file2 | sort -u)

      Of course, we have rapidly veered off topic for the Monastery, so I digress. :-)

        Sure, it's very useful. Of course, diff can read one of its inputs from stdin, so you can use

        grep foo file1 | sort -u | diff - <( grep foo file2 | sort -u )