delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/07/02:59:53

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: phantom file "aux" under bash b19
7 Apr 1998 02:59:53 -0700 :
Message-ID: <19980406130227.111.rocketmail.cygnus.gnu-win32@send1d.yahoomail.com>
Reply-To: earnie_boyd AT hotmail DOT com
Mime-Version: 1.0
To: Daniel Karipides <karipid AT mae DOT cornell DOT edu>, gnu-win32 AT cygnus DOT com

---Daniel Karipides <karipid AT mae DOT cornell DOT edu> wrote:
>
> 
> I couldn't find any reference to this in the FAQ:
> 

It's either in the FAQ or the README I forget which.


> Under bash, b19, there is a phantom file "aux" that does not exist,
> but affects things such as "ls" and "tar".
> 

Problems will arise with filenames that are device names under Win32,
EG: aux, con, prn, etc.

> As an example:
> 
>   bash-2.01$ ls -l aux
>   crw-r--r--   0 0        everyone   0,   0 Dec 31  1969 aux

As you can see by the "crw-r--r--" that the cygwin ls knows that this
is a character device.

> 
> This works in any directory.  One cannot name other files "aux".  The
> command:
> 
>   touch aux
> 
> hangs the shell.

DON'T DO THAT.  It should "hang" the shell.

> 
> I hope this information is useful.
> 
> -Dan
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 

If you have such a file that actually exists, you will need to fully
specify the path to remove it.  In the example you give, the file
doesn't exist.

-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd AT hotmail DOT com-
------ooo0O--O0ooo-------

Check out these great gnu-win32 related sites:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/                  (ftp site)
http://www.cygnus.com/pubs/gnupro/                    (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/                   (Project Page)
http://www.cygnus.com/ml/gnu-win32                     (Mail Archives)
http://www.itribe.net/virtunix/winhelp-man-pages/     (HTML Man Pages)
http://www.lexa.ru/sos                               (Sergey Okhapkin)
ftp://www.lexa.ru/pub/domestic/sos/                (Sergey's ftp site)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html           (Colin Peters)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/    (Mumit Khan)
http://gnu-win32.paranoia.ru                   (Chuck Bogorad's ports)
http://www.bestweb.net/~aka/gnu-win32/  (GNU-Win32 Bash Configuration)
http://rcw.home.ml.org/                  (Rob Warner - software ports)
http://www.wenet.net/~garbanzo/gnuwin32/     (more - software portals)
http://www.wenet.net/~garbanzo/gnuwin32/rpm   (Redhat Package Manager)
http://www.parallax.co.uk/~andyp/index_text.html  (Andy Piper - ports)
http://www.tiac.net/users/cgf     (Christopher Faylor - package ports)
ftp://ftp.franken.de/pub/win32/develop/gnuwin32/       (German mirror)
http://www.dol.ru/users/valtul      (Valery Tulnikov - software ports)

SEARCH ENGINES WITH gnu-win32 mail archive RELATED INDICIES:
http://www.progressive-comp.com/Lists/?l=gnu-win32&r=1&w=2#gnu-win32
http://www.findmail.com
http://www.search.com
add gnu-win32 or gnuwin32 to the search criteria.

Help for Win32 Beginners: http://www.relisoft.com

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019