summaryrefslogtreecommitdiffstats
path: root/bin/ls
Commit message (Collapse)AuthorAgeFilesLines
* Submitted by: Whistle Communications (archie Cobbs)julian1997-06-021-1/+9
| | | | | | | | | | | | | | | | | | These changes add the ability to specify that a UFS file/directory cannot be unlinked. This is basically a scaled back version of the IMMUTABLE flag. The reason is to allow an administrator to create a directory hierarchy that a group of users can arbitrarily add/delete files from, but that the hierarchy itself is safe from removal by them. If the NOUNLINK definition is set to 0 then this results in no change to what happens normally. (and results in identical binary (in the kernel)). It can be proven that if this bit is never set by the admin, no new behaviour is introduced.. Several "good idea" comments from reviewers plus one grumble about creeping featurism. This code is in production in 2.2 based systems
* Enable whiteout code since we now have the lite2 support for them.dfr1997-04-292-4/+4
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-3/+3
| | | | posix standard on the topic.
* make usage() and SYNOPSIS agree with each other and add missing optionsobrien1997-03-262-4/+4
| | | | documented in the DESCRIPTION section.
* Typo fix.mpp1997-03-071-2/+2
|
* Add a missing period in the -o option description.mpp1997-02-251-3/+10
| | | | | | Document the depreciated -g option. Inspired by: OpenBSD PR# 119
* Revert $FreeBSD$ to $Id$peter1997-02-229-9/+9
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-149-9/+9
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Minor mdoc cleanup.mpp1997-01-111-2/+4
|
* Add a blurb describing the fact that ls will print thempp1997-01-111-2/+8
| | | | | | | year in place of the hour/minute fields if the time is more than 6 months in the past or future. Also some minor mdoc cleanup.
* Make ls include the year when displaying times that are more thanmpp1997-01-111-2/+6
| | | | | | 6 months into the future. Closes PR# 1657. Submitted by: Sakari Jalowaara <sja.home.tekla.fi>
* Use strcoll instead of strcmp for file names comparationache1996-12-281-3/+3
| | | | Should be in 2.2
* Merge Lite2 mods, and -Wall cleaning. undelete(2) cruftsteve1996-12-147-19/+63
| | | | | | not yet implemented is protected by a define (BSD4_4_LITE) that should be removed when this call is supported by the kernel.
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-2/+2
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* set error status on exit, to be consistent with manpage and standard commands.adam1996-08-271-2/+6
|
* Use unsigned char for isprintache1996-03-311-2/+2
|
* Remove unused include of utmp.h from print.c. Closes PR# 486.mpp1996-01-201-2/+1
| | | | Submitted by: Tom Samplonius <tom@haven.uniserve.com>
* Print dev minor #'s > 255 in hex.joerg1995-12-301-3/+7
| | | | Reviewed by: jkh, kuku, phk
* Change locale to LC_ALL, there no bitmaskache1995-10-261-2/+3
|
* Change LC_ALL to LC_CTYPE|LC_TIME - small optimizationache1995-10-231-2/+2
|
* Add setlocale LC_ALLache1995-10-231-1/+3
|
* Uncomment out references to FIFOs for the -F and -l options.mpp1995-09-261-6/+7
| | | | | | Also mention sockets in the text for -F. Partially obtained from the NetBSD commit mail list.
* Change ctime to strftime %c to use national date/time representationache1995-08-081-3/+3
|
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-3/+2
| | | | which is no longer bogusly installed in /usr/include.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
| | | | Reviewed by: phk
* Having BLOCKSIZE=K and using "-k" option ls would use 2K block size...phk1995-03-231-4/+6
|
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-192-4/+5
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* Make ls recognize the COLUMNS environmental variable, evenjoerg1994-12-181-2/+6
| | | | | | | in cases where it does not run on a terminal. This is important e.g. for commands like env COLUMNS=132 ls -CR | lpr -Psome-wide-printer
* Back out ctype fix, unneded with new ctypeache1994-10-091-2/+2
|
* Added $Id$dg1994-09-249-0/+14
|
* Make ls ctype-awareache1994-09-211-1/+1
|
* Add support for '-k' option to print file allocation space in 'K' instead ofpst1994-09-192-2/+11
| | | | | | | system blocks. This is semi-original code, not the same way this crufty option was handled in FreeBSD 1.x.
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-269-0/+1583
OpenPOWER on IntegriCloud