[Top][All Lists]

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

RE: Using wildcards

From: Paul D. Smith
Subject: RE: Using wildcards
Date: Fri, 22 Feb 2002 09:42:35 -0500

%% "Ronald Landheer" <address@hidden> 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 <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]