L - list any file in any format (almost).

Syntax:

L filename [option ]*
(+|-)Type (-)            (+|-)Verbose (-)
Reportcode=nn            Name=xxxxxx
Fileskip=n               (+|-) Filename (-)
(+|-) Content (+)

Examples:

l /random/library            (default format)
l /random/ar_directory +v    (+Verbose implies +Type)
l /random/qstar n=.tstod     (n= implies +verbose)
l /fyle +type +filename
                  (state filename and format type)

Options

filename
is the file you want to list. If you don't supply a filename, L lists *src.
-Content
doesn't list the file's actual contents. This is usually used in conjunction with +Type.
+Filename
displays the name of the file being examined. +Filename is useful when combined with the EO or WS subsystems.
Fileskip=number
skips the specified number of end-of-file marks before beginning to list the file. "number" must be an unsigned integer.
Name=element
displays a verbose listing of information concerning "element", where "element" is the name of an element in a system-loadable file, a deck name in an object library, a member of a source library, an element to be patched via an E* file, or a report code in a text file.
ReportCode=number
displays only the specified report code in a text file.
+Type
displays L's best guess about what kind of file this is. +Type is sometimes useful when combined with the EO or WS subsystems.
-Type
does not try to guess the file format. -Type may be used after +Verbose
+Verbose
gives a more detailed listing of the file if possible. +Verbose automatically implies +Type.
-Verbose
does not give a detailed listing of the file.

Description:

L lists the contents of virtually any kind of file. By default, it lists text files in their entirety and produces a terse summary of the contents of other file types. The format of the listing depends on the file type.

L recognizes the following file types:

*CF file  (used by command file processing)
APL random  (produced by the APL file system)
APL workspace
Huffman encoded  (produced by the HUFF subsystem)
UFAS files  (sequential,relative,IDS-II,indexed)
ar_directory  (produced by the ARCHIVE system)
extension editor patch file
        (produced by $EXTEDIT in batch)
freeze file  (produced by the "freeze" subsystem)
old mailbox
object  (object deck)
OM library ($LKED library)
qstar  (system-loadable file)
random library  (object library)
random source library  (produced by $SRCLIB in batch)
rstar  (loader input)
run unit (Virtual mode system-loadable files)
text  (standard system format)
If L does not recognize the format of a file, it issues the message "Unrecognizable file format". The diagnostic message also tells the file's size, whether the file is random or sequential, and whether it is permanent or temporary.

Notes:

L does not currently recognize:

OM files     - Object Module input for $LKED
LD files     - Object decks for the LD loader
LD libraries - Libraries for the LD loader
ISP files    - Old style indexed sequential files
RFM file     - IO8 format data files.

Copyright © 2000, Thinkage Ltd.