I need to do the following. I have the following file called
emp-name-irving-kentucky.grammar
The original contents are:
([
(elbert freeman){<vid bkaa9v2>}
(marque worrell){<vid b3ygmys>}
(ronney riddell){<vid b3zbgjq>}
]
?please~0.001)
I need the file to be transformed to the followinG;
((irving kentucky)[
(elbert freeman){<vid bkaa9v2>}
(marque worrell){<vid b3ygmys>}
(ronney riddell){<vid b3zbgjq>}
]
?please~0.001)
So basicallly I am taking the city and state out of filename
emp-name-irving-kentucky.grammar and putting it as
(irving kentucky) on the top of the same file....
How can this be done?
Also once I am done with file I need to do this for all file under one directory and concatenate all of these
city state files to produce one file.
emp-name-irving-kentucky.grammar
The original contents are:
([
(elbert freeman){<vid bkaa9v2>}
(marque worrell){<vid b3ygmys>}
(ronney riddell){<vid b3zbgjq>}
]
?please~0.001)
I need the file to be transformed to the followinG;
((irving kentucky)[
(elbert freeman){<vid bkaa9v2>}
(marque worrell){<vid b3ygmys>}
(ronney riddell){<vid b3zbgjq>}
]
?please~0.001)
So basicallly I am taking the city and state out of filename
emp-name-irving-kentucky.grammar and putting it as
(irving kentucky) on the top of the same file....
How can this be done?
Also once I am done with file I need to do this for all file under one directory and concatenate all of these
city state files to produce one file.