Reading and writing text files from/to LIF-files: Two new scripts



#2

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.


#3

Nice. Thanks.


Possibly Related Threads...
Thread Author Replies Views Last Post
  How to copy files from 9114B to hard drive via PIL-box? Joe Horn 23 3,989 12-14-2013, 11:57 PM
Last Post: Geoff Quickfall
  HP50g: Writing a function that returns a function Chris de Castro 2 713 12-10-2013, 06:49 PM
Last Post: Han
  How to update PRIME Firmware using Files on PC Harold A Climer 2 722 12-04-2013, 12:05 PM
Last Post: Erwin Ried
  Writing RPL programs on OS X Sean Freeman 18 1,932 11-30-2013, 03:59 PM
Last Post: Sean Freeman
  [HP-Prime] - Shortcuts for program writing Jean-Michel 4 719 11-01-2013, 07:55 AM
Last Post: Jean-Michel
  Loading .prgm files to the Prime Thomas Chrapkiewicz 8 1,041 10-25-2013, 09:34 AM
Last Post: Eddie W. Shore
  Proper location for files on the PC for Connectivity Kit ,etc. Harold A Climer 8 1,103 10-23-2013, 02:43 AM
Last Post: Marcus von Cube, Germany
  Prime 'CONTENT' section not retaining info text Geoff Quickfall 2 534 10-17-2013, 05:24 PM
Last Post: Geoff Quickfall
  Updated PPC DVD Version 2.10: HP-41 Searchable Program Files and Scannable Barcode Jake Schwartz 3 650 09-27-2013, 09:51 PM
Last Post: Olivier (Wa)
  HHC 2013 speakers' files Joe Horn 2 607 09-26-2013, 02:51 AM
Last Post: Geoff Quickfall

Forum Jump: