[Coco] Source Code for ls
Bill Pierce
ooogalapasooo at aol.com
Thu Aug 27 19:34:25 EDT 2020
I'm pretty sure I have it somewhere. Long ago (Delphi days), a friend and myself renamed "D", so were had a one letter dir. I know, it sounds silly but believe me, after you get used to typing "d /dd" for so many years, it's a hard habit to break.
I'll look through my sources and see if I can find it
Bill
-----Original Message-----
From: William Carlin <whcarlinjr at gmail.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Thu, Aug 27, 2020 4:07 pm
Subject: [Coco] Source Code for ls
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
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list