bug-fileutils
[Top][All Lists]
Advanced

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

Recursive find in "ls" utility doesn't seem to always work...


From: Tim Schoenfelder
Subject: Recursive find in "ls" utility doesn't seem to always work...
Date: Sun, 19 Oct 2003 15:15:33 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701

Hi,

I manned the "ls" utility and it recommended reporting this to the above email address.


My version of ls is:

ls --version
ls (fileutils) 4.1.9
Written by Richard Stallman and David MacKenzie.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

My story:
I was attempting to find all of the *.exe files in a win95 cdrom (troubleshooting an install on an older PC) so I tried the following command:

ls -aR *.exe

while in the mounted CD's win95 directory. I also tried the above without the "a" option with no luck. I even took the wildcard out and used a specific filename such as

ls -aR wowkit.exe

which failed(reported nothing). However, when I used a blanked recursive call through a pipe such as

ls -aR | grep wowkit.exe

reported

wowkit.exe

additionally

ls -aR | grep .exe

successfully reported all of the exe files on the cdrom. Could you please help me fix this?

Sincerely,
Tim Schoenfelder
cc: Steve, a linux fluent friend...






reply via email to

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