tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make: Unfinished character list in pattern
> That was a deliberate change
Which broke my real-world application. Fortunately, on a development system.
> in order to catch cases where the end of a range was accidentally omitted.
1. this is UNIX.
2. how do you catch cases where the beginning of a range was accidentally
omitted?
> The wording in make's manual page doesn't refer to glob(7), it doesn't
> even suggest what the semantics of the "standard shell wildcard
> characters" might be.
I would suppose that, if you ask a hundred UNIX programmers what "standard
shell wildcard characters" mean, ninty-nine and a half of them would refer
to "glob" in their answer.
> And in fact, make(1)'s :M modifier differs from glob(7) in many more
> edge cases.
Then, in my humble opinion, these differences should be fixed or at least
documented. Or even better, eliminated for good by using glob(3).
> You can write :M*[-+]* instead.
Unless I also want to match ] or !.
Home |
Main Index |
Thread Index |
Old Index