bug-fileutils
[Top][All Lists]
Advanced

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

Re: ls


From: David T-G
Subject: Re: ls
Date: Wed, 19 Feb 2003 07:42:48 -0500
User-agent: Mutt/1.4i

Markus --

...and then Embacher Markus said...
% 
% Hi,

Hi!


% 
% The result is
% 
% $  ls | egrep -vi '^[a-z0-9\._]*$'
% #MUSTER.txt
% #MUSTER2.txt
% #STONE.txt
% $$$COIBM.txt

Well, that takes care of that sort of question...  I thought that there
might be some special metacharacters in the middle of some files.

The only one that stands out to me is the $$$ file.  In UNIX, $$ means
"the id of the current process", while $whatever means "the value of the
environment variable whatever".  Your shell may be trying to expand
either or both of those and having problems.  Can you rename the file (no
dollar signs) or move it out of the directory and try again?

Note that you might then get an "argument list too long" error.  That's
not a problem with ls (it's been discussed before; see the mailing list
archives for a complete explanation), and it at least would show that
we've gotten past the current problem.


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) address@hidden * society and not sufficient moral courage.
(work) address@hidden  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgpUimKZVabkT.pgp
Description: PGP signature


reply via email to

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