Date: Wed, 27 Mar 2002 17:28:15 -0800 (PST) From: Josef Karthauser <joe@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ls Makefile cmp.c extern.h ls.1 ls.c ls.h print.c util.c Message-ID: <200203280128.g2S1SFr92606@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joe 2002/03/27 17:28:15 PST Modified files: (Branch: RELENG_4) bin/ls Makefile cmp.c extern.h ls.1 ls.c ls.h print.c util.c Log: MFC: Sync with -current, bringing all the differences into line, apart from those that are -current specific. In particular: Revamp the colour support to allow for bold characters. Colours are now defined using the characters a-h and A-H for the bold variants. The old way using 0-7 for the colours still works, but prints a message asking the user to switch. Add a new flag, -h which when combined with the -l option causes file sizes to be displayed with unit suffixes; Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less. K&R->C89 source code changes. Revision Changes Path 1.9.2.3 +5 -3 src/bin/ls/Makefile 1.9.2.1 +8 -16 src/bin/ls/cmp.c 1.7.2.4 +20 -18 src/bin/ls/extern.h 1.33.2.15 +41 -14 src/bin/ls/ls.1 1.32.2.5 +121 -94 src/bin/ls/ls.c 1.11.2.3 +8 -7 src/bin/ls/ls.h 1.19.2.5 +206 -121 src/bin/ls/print.c 1.20.2.4 +12 -17 src/bin/ls/util.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203280128.g2S1SFr92606>