[Coco] Source Code for ls

William Carlin whcarlinjr at gmail.com
Thu Aug 27 16:07:11 EDT 2020


Does anyone have the source code for the command ls?  I want to bring this
useful and feature packed program into the 21st century by making it Y2k
compatible.  Currently ls does not understand creation or modify dates past
1999. Here are the details:

{N2|03}/DD:ls -?
Usage: ls [[-[bchilrst<dfa><icre>e<ntac>]] [fn]] ...
options:                            -do - effect o on all dir entries
   -c - combine dirs and files      -fo - effect o on all file entries
   -h - show hidden files.          -ao - effect o on all entries
   -i - omit subdirectory indent'n.     o: i=ignore, c=vert. column,
   -l - same as -ae                        r=rows, e=extended info.
   -r - recurse for subdirectories  -eo - set emphasis mode o:
   -s - don't sort entries              o: n=none, t=CoCo text,
   -t - show section titles                d=DMP, a=ansi, c=CoCo colors.
   -u - case sensitive wildcards    -w# - set device width to #
   -p - flip directories over files -b  - no banner
fn is either a directory or a filename to match in a directory.
   The wildcards * and ? are allowed in a filename listing.
ls, placed into PD 8-89 by Jon Howell.
Error #001 - Unconditional Abort

{N2|03}/DD:ident /dd/usr/bin/ls

Header for:  ls
Module size: $3056    #12374
Module CRC:  $C778A8 (Good)
Hdr parity:  $4E
Exec. off:   $0019    #25
Data Size:   $0752    #1874
Edition:     $02      #2
Ty/La At/Rv: $11 $81
Prog mod, 6809 obj, re-en, R/O

Thanks,

William Carlin


More information about the Coco mailing list