LSX v1.40 - extension sensitive directory lister

Revised 7-Sep-97. Copyright (c) 1996-97 by Rune Berg. TextTools Freeware.

Usage - Description - Example - Options - Limitations - Return codes


USAGE

lsx [log logfile] [options] [directory]


DESCRIPTION

lsx is an alternative directory lister, for directories with many files with the same basename(s) but with different extensions, for example directories containing C programming projects.

By default, lsx recognizes the extensions .h .c .obj, but is configurable (see -x option) to any set of 1-10 extensions.

lsx writes directory contents to standard output.

lsx writes error messages to standard error (or logfile, if given).


EXAMPLE

For example, if the current directory contains:

        TRANS.C   
        TCOLS.OBJ 
        MAKEFILE     
        TCOLS.C   
        TROWS.C   
        EVAL.H   
        TREE.H   
        TREE.OBJ 
        PARSER.OBJ 
        TRANS.OBJ 
        TESTCOLS (dir)     
        TESTROWS (dir)    
        EVAL.OBJ 
        PARSER.C   
        TROWS.OBJ 
        EVAL.C   
        TRANS.H   
        PARSER.H   
        TREE.C   

then the command:

        lsx -f -d

prints the following:

        EVAL     .H .C .OBJ
        PARSER   .H .C .OBJ
        TCOLS       .C .OBJ
        TRANS    .H .C .OBJ
        TREE     .H .C .OBJ
        TROWS       .C .OBJ
        MAKEFILE
        . (dir)
        .. (dir)
        TESTCOLS (dir)     
        TESTROWS (dir)     


OPTIONS

lsx recognizes the following command line options:


LIMITATIONS

lsx handles directories of up to 1000 entries.

The DOS version of lsx doesn't display long file names properly; the Win32 version does.

To use the -r option:


RETURN CODES

lsx returns with one of the following codes ("error levels"):


End of document