Creating KVTML Files
Jan 03, 2009, 04:02 (0 Talkback[s])
(Other stories by Phil Hughes)
"While I was extracting data from a fairly convoluted HTML file
which required some more awk, the generic idea was to take some
easy-to-make text format and build the needed KVTML file. I decided
to use one line per record with a "|" as the field separator. There
is nothing magic about using this character--you just need
something that does not appear in the data itself.
My "knowledge" of the KVTML format comes from creating a file
with KWordQuit and then taking a look at it. I don't really
understand with rows and columns is used for but it doesn't seem
important. Without further ado, here is the awk program."
Complete
Story
Related Stories:
- Patterns and string processing in shell scripts(Dec 28, 2008)
- Treating Compressed and Uncompressed Data Sources the Same(Dec 19, 2008)
- A Linux Literary Trilogy(Dec 16, 2008)
- The Linux CLI for Beginners, or, Fear Not the Linux Command Line!(Dec 12, 2008)
- The A-Z of Programming Languages: Perl(Dec 12, 2008)
- Vim as Typewriting Tutor(Dec 11, 2008)
- Linux and UNIX How To: Scripting SSH and SFTP(Dec 10, 2008)
- Speaking UNIX: Go Fish! The Friendly Interactive Shell(Dec 04, 2008)