tech-userlevel archive

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

make: Unfinished character list in pattern



make(1) from -11 chokes on character lists in globs ending with a hyphen:

	foo= foo bar foo-bar

	default:
		echo ${foo:M*[+-]*}

However, glob(7) says

	In order to represent itself, a `-' must either be quoted
	or the first or last character in the character list.

and this works as expected with make(1) from -10.


Home | Main Index | Thread Index | Old Index