Re: xfs initscript enhancements, take 5
Alexandre Oliva <[email protected]> 09 Oct 2003 03:31:07 -0300
| Newsgroups | gmane.linux.redhat.rhl.devel,gmane.linux.redhat.xfree86 |
|---|---|
| Organization | GCC Team, Red Hat |
| Message-ID | <[email protected]> |
On Oct 9, 2003, "Mike A. Harris" <[email protected]> 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 -- fedora-devel-list mailing list [email protected] http://www.redhat.com/mailman/listinfo/fedora-devel-list