List files without extension, was: Bug in glob.glob for files w/o extentions in Windows

Stein Boerge Sylvarnes st06550 at erasmus.uib.no
Sun Nov 30 15:12:01 EST 2003


In article <bqcg7i$olj$03$1 at news.t-online.com>, Peter Otten wrote:
>Georgy Pruss wrote:
>
>> Anyway, "*." is not a bad DOS convention to select files w/o extention,
>> although it comes from the old 8.3 name scheme. BTW, how can you select
>> files w/o extention in Unix's shells?
>
>ls -I*.*
>
>The -I option tells the ls command what *not* to show.
>
That's non-standard gnu ls behaviour, I think.  (Tested on OpenBSD and SunOS)

>Peter

--
regards/mvh
Stein B. Sylvarnes
stein.sylvarnes at student.uib.no




More information about the Python-list mailing list