We can do that using the filter-out function LIST = $(filter-out %..sc,$(DCLDEF))
LIST will now contain all the files but with those having the extension ".sc" -----Original Message----- From: Maciej Walezak [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 5:04 PM To: [EMAIL PROTECTED] Subject: transforming text Hello, I have the following variable: DCLDEF = foo=path/foo.dcl bar=path/bar.dcl a_junk=a_path/junk.sc I want to have another variable containing the same list but without the prefix *= i.e. path/foo.dcl path/bar.dcl a_path/junk.sc How can I do that? $(patsubst %=,,$(DCLDEF)) does not work. greetings -- Maciej Walezak -GDN- _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
