xfs initscript enhancements, take 5

Alexandre Oliva aoliva at redhat.com
Thu Oct 9 06:31:07 UTC 2003


On Oct  9, 2003, "Mike A. Harris" <mharris at redhat.com> wrote:

> The final "ls|grep -E" which detects non-ttf/non-otf fonts will 
> come up true if the directory contains subdirectories.  The only 
> way I can think of to easily avoid this, is to use "find" instead 
> of "ls|grep -E" and disable directory recursion, and only return 
> files, not dirs.  That change is a bit more experimental however, 
> so I'm leaving that for the future.

Consider ls -F | grep -v /$

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer





More information about the fedora-devel-list mailing list