Hi,
How do I use named pipes in unix? Any links?
thanks,
Vijay.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
How do I use named pipes in unix? Any links?
thanks,
Vijay.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
mknod pipe p
cat file > pipe
cat pipe | while read LINE
do
echo $LINE
done
>How do I use named pipes in unix? Any links?
>thanks,
>Vijay.
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
>mknod pipe p
>cat file > pipe
>cat pipe | while read LINE
>do
>echo $LINE
>done
Also, your "cat pipe" is a UUOC.
--
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Alex
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
<I_saw_it_first_mode>
> mknod pipe p
> cat file > pipe
> cat pipe | while read LINE
> do
> echo $LINE
> done
</I_saw_it_first_mode> :-)
Harald Kirsch
--
---------------------+------------------+--------------------------
gegen Punktfilitis hilft nur `chmod u-w ~'
>>mknod pipe p
>>cat file > pipe
>>cat pipe | while read LINE
>>do
>>echo $LINE
>>done
>You forgot the '&' at the end of the 'cat file > pipe' line. Otherwise,
>the script will stop at that line (opening a pipe for writing hangs until
>another process opens it for reading, and vice versa) and never get to the
>part that reads.
>Also, your "cat pipe" is a UUOC.
>--
>GTE Internetworking, Powered by BBN, Burlington, MA
>*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
>Please DON'T copy followups to me -- I'll assume it wasn't posted to the
1. Any compatibility between Unix Named Pipes and NT Named Pipes??
Is there any compatibility (or libraries to give same functionality)
between unix (specifically OpenStep but general solutions OK) and WinNT
with NAMED PIPEs? I have a need to have the Named Pipe functionality for
talking between Named Pipes on both platforms.
Thanks
Chad
2. Is PCI NE2000 Lan Card can worked in Solaris 2.5?
3. Help needed pipes and named pipes
4. Debian won't recognize parallel port
5. exit status of the command in pipe from shell & named pipe
6. VSTATUS and VDISCARD (^T and ^O) for linux
7. Regular pipe vs. Named Pipe
8. DNS Packet Filtering using Cisco IOS 10.0.2
9. named pipes and pipes in general
10. Error reading from named pipe, change kernel parameters
11. Named pipes
12. named pipe writer's end problem