kleink
b424b8fe8c
Add support for the XCU5 -p option (-F restricted to directories).
1999-02-17 15:28:08 +00:00
kleink
b7443b0f16
Implement 1003.2 -m option (stream output format).
1999-02-12 14:35:48 +00:00
lukem
9ebc86e047
update date
1999-01-03 02:04:10 +00:00
lukem
1f786e2c6f
refer to chflags(1) for more info on file flags.
...
split up explanation of long format into a list
1999-01-03 01:33:51 +00:00
lukem
0f56c0cd69
* parse `nonodump' (synonym for `dump'; both are inverse of `nodump').
...
from Brian C. Grayson <bgrayson@marvin.ece.utexas.edu> in [bin/3932]
* don't depend on a fallthrough in one case; explicitly return like
all other cases.
* include "stat_flags.h" instead of "ls.h" and "extern.h"; other
programs use this file and don't need the other cruft.
1999-01-03 01:30:10 +00:00
christos
a7e8a30ca7
%q -> %ll
1998-11-04 18:53:17 +00:00
christos
9be0cf0c25
conservative casts for printfs.
1998-11-04 18:50:37 +00:00
christos
7f10b1cf33
include termios.h for struct winsize
1998-11-04 18:50:22 +00:00
wsanchez
0a8ce08607
Check for NULL value returned by user_from_uid and group_from_gid and DTRT,
...
rather than crash.
1998-10-13 16:55:22 +00:00
mrg
14a817a516
create a "stat_flags.h" to go with stat_flags.c
1998-10-10 07:38:22 +00:00
enami
4023401291
- To make this file compile again on NetBSD, force to use
...
old (i.e. posix version of timespec) code if defined(__NetBSD__).
- Introduce some macro for readability.
1998-10-09 02:00:39 +00:00
wsanchez
1b21ebd11c
Global replace:
...
-#ifdef _POSIX_SOURCE
+#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) || defined (_XOPEN_SOURCE)
1998-10-08 23:30:35 +00:00
wsanchez
266388e1a4
Handle non-POSIX version of timespec.
1998-10-08 02:13:30 +00:00
thorpej
45e5a86960
Add some braces to make egcs happy.
1998-08-19 01:43:22 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
mycroft
1381f68431
Delint.
1998-07-28 05:15:46 +00:00
mycroft
ac70c0c5ed
Slight code reduction.
1998-07-27 17:55:17 +00:00
mycroft
0e2f9ea923
__AUDIT__ cleanup.
1998-07-27 17:06:48 +00:00
hubertf
b6a5231baf
Document ls -F's output for sockets;
...
per PR 5520 by Matt Debergalis <deberg@big-veronica.ai.mit.edu>
1998-06-01 21:11:28 +00:00
lukem
e30b76288b
* blocks can be 64bit (not u_long), so calculate and display accordingly
...
* cleanup some other typedamage (int is as good as u_long)
* remove unused variables
1998-05-16 15:12:26 +00:00
fair
8cdd8944c1
correct HISTORY section of ls(1) to note that Ls(1) exited in 5th Edition UNIX from Bell Labs; add that version to At macro in mdoc, all per PR#4790
1998-03-20 02:36:09 +00:00
mycroft
1ee799896c
Deal with GCC warning.
1998-02-03 02:02:13 +00:00
mycroft
d4e67eb266
If a time stamp is 6 months or more in the future, display the year in the
...
short form. Also, cache the current time.
1998-01-21 00:25:19 +00:00
lukem
ac591fc02c
* implement -x; sort columns across the page rather than down the page
...
* in printcol(), don't bother building an index to the linked list if
only printing one column with printscol()...
* implement -n; prevent [gu]id->name mapping in long listings.
inspired by openbsd, but does *not* imply -l by itself.
* fix sorting with -d (or mismatched types in general). (from openbsd).
* document -g. (from openbsd).
1998-01-18 13:30:03 +00:00
mycroft
9ded7f638d
Automatically resize the major and minor number fields, and DTRT if the size
...
field is not the same size.
1998-01-17 12:00:42 +00:00
enami
c3872193cf
Fix .Nm usage.
1997-10-20 08:50:59 +00:00
jtc
5b466bef97
Changed order of STANDARDS and HISTORY subheads to conform with
...
specification in mdoc(7).
1997-09-09 07:26:02 +00:00
thorpej
f566fe5da3
Add some casts to printf args to keep the compiler happy on the Alpha.
1997-07-30 05:01:01 +00:00
christos
23edbe3557
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
...
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos
d91f759e44
include <pwd.h> and <grp.h> to bring prototypes into scope.
1997-07-20 19:20:01 +00:00
christos
f5b66975d0
remove user_from_uid and group_from_gid prototypes.
1997-07-20 19:07:05 +00:00
christos
b22592e84f
Fix compiler warnings.
...
Add WARNS=1
1997-07-20 18:52:57 +00:00
thorpej
51175461d6
Do multicolumn output in a way that's a little more likely to always
...
line up evenly. From D'Arcy J.M. Cain <darcy@druid.com>, PR #2965 .
1996-12-11 03:25:39 +00:00
mycroft
00e5d89a69
Sort FTS_NS entries by name, just so the order is well-defined.
1996-07-09 09:16:29 +00:00
mycroft
524eb9810f
Stylistic change of no consequence.
1996-07-08 10:32:01 +00:00
mycroft
0dc5640b54
Compare nanosecond field in timestamps.
...
Always do name comparison if other sort field is equal.
1996-07-08 10:22:13 +00:00
mycroft
c603307d33
Partition FTS_NS entries from others, to avoid confusing qsort().
...
Don't bother to order the FTS_NS entries amongst themselves.
1996-07-08 10:20:16 +00:00
jtc
645e4d83ee
Changed so that COLUMNS environment variable will override the value
...
obtained via the TIOCGWINSIZ ioctl. This is required by POSIX.2, see
section 4.39.5.3.
1996-02-14 05:58:53 +00:00
jtc
9a3ca97f12
ENVIRONMENTAL -> ENVIRONMENT
1995-12-05 02:41:35 +00:00
jtc
422216beb9
Uncomment text that describes that a vertical bar is printed after each
...
pathname that is a FIFO when the -F option is used.
1995-09-26 05:04:45 +00:00
jtc
d943cdadce
Sync with 4.4lite2
1995-09-07 06:42:58 +00:00
jtc
23e6aab105
Use "utility" instead of "command". Modern definitions of these terms
...
are distinct (See POSIX.2 glossary).
A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
d966913f57
Sync with CSRG.
1994-12-27 23:14:46 +00:00
mycroft
f67cdf925f
Add `-o' option to usage string.
1994-10-25 02:29:46 +00:00
mycroft
83ede345fb
Merge with 4.4-Lite version.
1994-09-23 06:14:39 +00:00
mycroft
e40b06360c
Import original 4.4-Lite version.
1994-09-22 03:04:15 +00:00
jtc
32a561a5d1
Changed traverse() and display() so that errors are reported when
...
they are first detected in display(), rather than waiting until later
in traverse().
The old code allowed "Can not read directory" error messages to be
left unreported unless the -R (recurse) option was used.
1994-04-08 02:06:45 +00:00
chopps
854720238b
"yet" on quad_t/off_t things. (not noticed on i386 becuase of endian I guess.)
1994-04-04 19:29:42 +00:00
cgd
d85e4acf72
off_t exp.
1994-03-27 09:26:59 +00:00