tech-userlevel archive

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

Re: glob(3) extension



>> I propose an addition to glob(3): GLOB_HIDE_DOTDIRS, which makes .
>> and .. vanish when matching wildcards, even if GLOB_PERIOD is set.

(I actually called it GLOB_NO_DOTDIRS...for the trivial reason that
saving two characters made things line up without changing existing
definitions.)

>> Comments?  (I'm going to implement it for my own use, but would find
>> it convenient to have it in the tree.)
> I would prefer flag with the following result: [...]

Well, if you want to implement it, I certainly wouldn't oppose it.  It
won't do what I want, though, so I have no particular interest in doing
it myself, and am unlikely to use that flag, but I'm hardly opposed to
its being available to you.

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML               mouse%rodents.montreal.qc.ca@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index