[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Extracting structured data from file names
From: |
SF Markus Elfring |
Subject: |
Extracting structured data from file names |
Date: |
Tue, 06 Jan 2015 18:29:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
Hello,
I can generate a few file names with an approach
like the following.
MY_FILES::=
$(foreach index,$(shell seq 2 -1 0),$(eval MY_FILES+=X$(index).txt))
all: $(MY_FILES)
@echo '|$^|'
$(MY_FILES): ;
Now I am looking for a way to extract the number from
the shown prerequisite.
Can I get such encoded data by standard make and
shell functions?
Regards,
Markus
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Extracting structured data from file names,
SF Markus Elfring <=