bug-hurd
[Top][All Lists]
Advanced

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

Re: implementing bash's magic


From: Marcus Brinkmann
Subject: Re: implementing bash's magic
Date: Sun, 3 Nov 2002 23:42:39 +0100
User-agent: Mutt/1.4i

On Sat, Oct 19, 2002 at 12:31:55AM +0200, Moritz Schulte wrote:
> [Lookups like /dev/{tcp,udp}/host/port]
> 
> I have written a translator, which implements exactly this: netio.
> Can be fetched from
> http://duesseldorf.ccc.de/~moritz/files/netio-0.2.tar.gz.

Ok, this is simple enough to be in one single file like fakeroot in
directory trans/.  Can you make a patch for that?  I am not sure if netio is
a good name, but I don't have a better suggestion either right now.  Please
also clean up cruft like my_malloc, we just use malloc and check it's return
value in place.  To better match what bash provides we would need to make
the protocol an option rather than a directory in the filesystem (as it
seems to be now).  If you like both behaviours, you might want to keep the
catch-all-protocol behaviour as an option.  Also add a patch for MAKEDEV to
set up /dev/tcp and /dev/udp.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

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