freebsd-dev/bin/ls
Josef Karthauser 3885812c8c Add colour support to /bin/ls (at a cost of 1056 bytes on my system).
It is not switched on by default and must be enabled with the -G
flag.  When using ls -G the output behaviour is modified with ANSI
colour sequences wrapped around filenames to help distinguish file
types.  (Colours can be redefined in the LSCOLORS environment
variable as described in the manual page.)

Colour support is silently disabled (if switched on) if stdout
isn't a tty.

Based on:	asami's colorls port.
PR:		bin/18900 && ports/18616.
2000-06-02 14:53:42 +00:00
..
cmp.c
extern.h Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
ls.1 Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
ls.c Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
ls.h Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
Makefile
print.c Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
util.c