I have a files like below.
24-TT-000001.temp
< file content >
id year (put in just for description purpose)
24 2005 data
24 2006 data
24-TT-000002.temp
< file content >
id year (put in just for description purpose)
25 2002 data
25 2003 data
What i want to do is go thru list of files and extract file content + file name into another file.
For example the output will look like
id year/part of filename
24 2005/000001
24 2006/000001
25 2002/000002
25 2003/000002
Thanks for your help.
24-TT-000001.temp
< file content >
id year (put in just for description purpose)
24 2005 data
24 2006 data
24-TT-000002.temp
< file content >
id year (put in just for description purpose)
25 2002 data
25 2003 data
What i want to do is go thru list of files and extract file content + file name into another file.
For example the output will look like
id year/part of filename
24 2005/000001
24 2006/000001
25 2002/000002
25 2003/000002
Thanks for your help.