F
Felix E. Klee
I need a program that can output all .one-files and all corresponding
lines that match the regular expression "^DocURL: .*". How it could
look when run from the command line:
C:\> some_program some_folder
some_folder\foo\bla.one DocURL: http://asd.sdf/we2
some_folder\blub.one DocURL: http://asd.sdf/43s
some_folder\blub.one DocURL: http://asd.sdf/76d
Is there a program that comes close to what I need? If not, where
should I start when I want to write such a program?
- Felix
PS: Eventually, I want the file names and the URLs to go into a
database, but that would be the next step. The idea behind the whole
thing is to give .one files unique URLs via which they can be
referenced world wide. I've used a similar system with great success
for years, though that was based on URNs (unregistered).
lines that match the regular expression "^DocURL: .*". How it could
look when run from the command line:
C:\> some_program some_folder
some_folder\foo\bla.one DocURL: http://asd.sdf/we2
some_folder\blub.one DocURL: http://asd.sdf/43s
some_folder\blub.one DocURL: http://asd.sdf/76d
Is there a program that comes close to what I need? If not, where
should I start when I want to write such a program?
- Felix
PS: Eventually, I want the file names and the URLs to go into a
database, but that would be the next step. The idea behind the whole
thing is to give .one files unique URLs via which they can be
referenced world wide. I've used a similar system with great success
for years, though that was based on URNs (unregistered).