Re: /dev/tcp

Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.os.linux.misc
Organization Some absurd concept
Message-ID <[email protected]>
In comp.os.linux.misc, Rich  <[email protected]> wrote:
> Eli the Bearded <*@eli.users.panix.com> wrote:
>> What system(s) have /dev/tcp/* natively?
> What "systems"?  Only those with a /bin/bash compiled with this 
> "special bash feature" compiled in.

None is a potential answer.

>>        Bash handles several filenames specially when they are used in
>>        redirections,  as described  in the  following table.   If the
                                                                  ^^^^^^
>>        operating  system on  which  bash is  running  provides  these
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>        special files, bash will use them;  other wise it will emulate
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>        them internally with the behavior described below.

> It's a Bash feature.  Note the man page quote you provided:
>>  **Bash** handles several filenames specially when they are used in 
>>  redirections

Note the underlined bit. In my mind "emulate" implies there is a thing
that does this, because the dictionary definition of "emulate" is very
close to "immitate".

From WordNet (r) 3.0 (2006) [wn]:
 
  emulate
      v 1: strive to equal or match, especially by imitating; "He is
           emulating the skating skills of his older sister"
      2: imitate the function of (another system), as by modifying the
         hardware or the software
      3: compete with successfully; approach or reach equality with;
         "This artist's drawings cannot emulate his water colors"

Note how there is nothing there about "make up whole cloth" or
"completely implement without reference to something else."

Elijah
------
realizes some documentation is fiction
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.