HP Forums
Reading and writing text files from/to LIF-files: Two new scripts - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Reading and writing text files from/to LIF-files: Two new scripts (/thread-164100.html)



Reading and writing text files from/to LIF-files: Two new scripts - Geir Isene - 03-08-2010

Ok, here goes - an itch that needed some scratching.

Whereas the following two scripts are not general purpose read/write from/to LIF-files, they do read an ascii file from a LIF-file and write an ascii file into a LIF-file. From the web site:

"lifasread " - a Ruby script to read an ascii file stored in a lif-formated file (used by the HP-41 as file format on mass storage mediums. Tested on Linux. Run the script with the -h (or --help) option to see how it is used.

"lifaswrite " - a Ruby script to write a text file to a lif-formated file (the reverse of "lifasread". Run the script with the -h (or --help) option to see how it is used.




Re: Reading and writing text files from/to LIF-files: Two new scripts - Egan Ford - 03-08-2010

Nice. Thanks.