JS driven external file parser
I'm attempting to find or create a script to parse an external plain text file into an easier to read and more organized format. Any tips, links, pre-written scripts, and suggestions are greatly appreciated.
Thanks In Advance
Need more detail as to what "Easier to read" means.
I want to take an external file say something like
⌡jimbo's config file⌡version 1.3.2⌡username: someguy⌡password hash: axDf718163b32f9cCd819362⌡last login: 6-18-04⌡keep track of multiple users: no⌡keep login history: no⌡check for latest updates at launch: yes⌡create logfile: yes⌡logfile path: c:\jimbos domain\jimbo client\jimbo\bin\logs\⌡logfile name: craptastico.log⌡
and parse the input so it can be turned into variables which can be edited by a form then outputted to a replacement file in the format above. i can extrapolate the modifications and what not needed from a script that does something similar. (I'm just not that fluent with the syntax and commands available so i need something similar which i can learn from.)
if this doesn't help i can be more specific. of course the info in the examble is all ficticious
Of course. I wouldn't be refering to a real language as a scripting language, or vise-versa. All I really need is some assistance finding the right calls to make and the proper syntax for doing so, a similar script would provide all I need to make my own that does what I want. Thank you for your intrest, I look forward to your reply.
The reason I asked was:
1. I needed to know how to answer the question because the anwer is different for each language.
My apologies, i haven't had any caffeine this week. (yeah.. only valid excuse I have.) I appreciate the assistance. Again thank you very much.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL