summaryrefslogtreecommitdiff
path: root/bin/ls/util.c
AgeCommit message (Expand)Author
2025-01-16ls: implement --group-directories-first for compatibility with GNU lsPiotr Pawel Stefaniak
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2022-10-31ls(1): add a -v flag to sort naturallyAymeric Wibo
2018-08-17ls(1): Add --color=whenKyle Evans
2018-01-17Convert ls(1) to not use libxo(3)Conrad Meyer
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2015-06-10Convert ls(1) to use libxo(3).Marcel Moolenaar
2013-01-06When WCHAR_MIN == 0 the check if a wchar_t value will always be true. InAndrew Turner
2012-11-08Replace spaces with tabs where appropriate.Greg Lehey
2012-11-08Add y flag and environment variable LS_SAMESORT to specify the sameGreg Lehey
2008-04-04- Add -D to usage().Ruslan Ermilov
2006-03-24Add a new -U flag to instruct ls to use the birthtime for printing orJohn Baldwin
2005-11-16Having three options (-a, -A, -I) controlling the output of dottedRuslan Ermilov
2005-06-03Add the -S option to sort files by size. NetBSD and OpenBSD alreadyDima Dorfman
2005-02-09Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov
2005-01-10/*- or .\"- or #- to begin license clauses.Warner Losh
2004-05-03Only add the widths together for printable characters in prn_normal();Tim J. Robbins
2004-05-02Treat filenames as multibyte character strings (according to the currentTim J. Robbins
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2003-09-09Add the -m, -w and -x options to ls's usage message.Tim J. Robbins
2003-05-03Fix a bazillion warnings. This makes almost the whole of src/bin/*Mark Murray
2002-06-30Consistently use __FBSDIDDavid E. O'Brien
2002-02-28Add (unsigned char) cast lost in WARNS=4 fixes which break 8bit localesAndrey A. Chernov
2002-02-03Use __FBSDID() and clean up the vendor tags.Mark Murray
2002-02-03WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.Mark Murray
2002-02-02o __P has been reovedWarner Losh
2001-12-28Add a new flag, -h which when combined with the -l option causesJosef Karthauser
2001-11-26Add LOMAC options (the "Z" flag in both cases) to display extra informationBrian Feldman
2000-07-22Add the missing flags to ls(1)'s usage: -Bb.Brian Feldman
2000-07-04make sure we do not write out non-printable characters in file namesAssar Westerlund
2000-06-06Add -G to usage: if COLORLSAndrey A. Chernov
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1999-08-02Add -n option to print numeric user and group IDs instead of namesSheldon Hearn
1998-10-13Doh. What was I smoking when I wrote this?Dag-Erling Smørgrav
1998-04-25Fix nasty error in len_octal, result not initializedAndrey A. Chernov
1998-04-25Fix ctype error #1 - chars must be unsignedAndrey A. Chernov
1998-04-24Remove the bogus -? option after reading the getopt() manual :)Dag-Erling Smørgrav
1998-04-24o Removed two unused variables (f_dirname and f_newline) in ls.cDag-Erling Smørgrav
1998-04-24o Renamed '-b' (show unprintables in octal) to '-B'Dag-Erling Smørgrav
1998-04-21Added -b option to display unprintables in octal.Dag-Erling Smørgrav
1997-08-07Observe precedence set by Phillippe Charnier in adding anSteve Price
1997-08-07Remove #if(n)def BSD_4_4_LITE cruft and sccsid -> rcsid.Steve Price
1997-03-26make usage() and SYNOPSIS agree with each other and add missing optionsDavid E. O'Brien
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-12-14Merge Lite2 mods, and -Wall cleaning. undelete(2) cruftSteve Price
1996-03-31Use unsigned char for isprintAndrey A. Chernov