'how to extract variable name from a filename
I have data in many files. The file names themselves contain the variables that I need and I am not sure how to extract then, preferably by using csh commands. For example, here is a single file name:
Hourly Data for Andover, NJ - [id=k12n icao, lat=41.0089, lon=-74.7367].csv
The blank spaces are obviously invisible \ symbols (someone was really creative!). Anyway, I need to extract values for variables lat and lon for that filename. How do I do that?
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
