Hi Tobias,

Looking forward to your critique.
I used their claim that ">(...)" is based on the so-called "named pipes".

  ls -R | tee >( grep -m 5 devices > temp.txt ; cat > /dev/null )


Now, in the field:
[/linux-3.3.6]$ ls -R | \
 tee >( grep -m 5 devices > temp.txt ; cat > /dev/null ) | wc
  45099   42732  511641

[/linux-3.3.6]$ ls -R | wc
  45099   42732  511641

[/linux-3.3.6]$ cat temp.txt
at91cap9_devices.c
at91rm9200_devices.c
at91sam9260_devices.c
at91sam9261_devices.c
at91sam9263_devices.c

Cheers (it can be worse - works with -lR too:)
-- Alex

PS  I'm installing 3.4.1 to see how it works there.
One never knows, do one?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to