liftext - translate a HP LIF text file into an ASCII text file
lifutils liftext [-r] INPUTFILE [ > Output file ]
lifutils liftext [-r] < input file [ > Output file ]
lifutils liftext [-?]
liftext reads a LIF or raw HP LIF text file (also known as a LIF1 format file) from standard input or INPUTFILE and writes the equivalent standard text file to standard output. Each record of the HP text file is assumed to be one line of the output file. This file type is used on the HP-71 (TEXT) and the extended memory or HEPAX file system of the HP-41 (ASCII).
Note: liftext does not perform any character set conversions.
|
-r |
Skip an existing LIF header of the input file. This is mandatory, if the input file is a LIF instead of a raw file. | ||
|
-? |
Print a message giving the program usage to standard error. |
The HP text file format is documented in section 11.2.8.1 of the HP-71 Software Internal Design Specifications Volume 1 (Hewlett-Packard)
If disk1.dat is a LIF image containing an HP text file called TEXTA then
lifutils lifget -r disk1.dat TEXTA | lifutils liftext
will produce a listing of this file to standard output.
liftext was written by Tony Duell, ard@p850ug1.demon.co.uk and has been placed under the GNU Public License version 2.0