bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

/dev/udp|tcp/host/port and symbolic links


From: Uwe Klein
Subject: /dev/udp|tcp/host/port and symbolic links
Date: Tue, 09 Jul 2002 11:21:59 +0200

Hi,

being able to redirect output to /dev/<proto>/<host>/<port>
is very usefull ( Thanks for the feature !) 
I use this feature together with MultiCast Adresses
to send cmds and data to multiple processes on a set of hosts.

usage like this is ok:
 
        echo hello >/dev/udp/224.1.0.0/7773

But i could not refrain from trying:

        ln -s /dev/udp/224.1.0.0/7773 bclog
        echo hello >bclog

this breaks with 

        bash: bclog: Not a directory

I don't realy know at which point the decision
is made concerning regular file / some bash special file 
but it would be nice having softlinks work seamlessly.

G!
UK

System Linux 2.4.4 , GNU bash, version 2.05.0(1)-release
(i386-suse-linux)
-- 
Uwe Klein [mailto:uwe-klein@foni.net]
KLEIN MESSGERAETE Habertwedt 1
D-24376 Groedersby b. Kappeln, GERMANY
phone: +49 4642 920 123 FAX: +49 4642 920 125



reply via email to

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