%% "Ronald Landheer" <[EMAIL PROTECTED]> writes: rl> Actually, I already found out why it doesn't "work": it does, but it rl> doesn't do what he wants it to do. He wanted to be left with the rl> filenames starting either with F, I, J, O or S, and thus not with rl> anything that starts with A, B, etc.
Use filter / filter-out to do this. Patsubst (and subst) don't return only the words that match, they return everything, after doing the requested substitutions on the words that match. In other words, if nothing matches then the result will be identical to the input (not the empty string). -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
