christos
f6dadfcd98
fix an unused variable warning. From Anon Ymous
2006-12-15 20:22:33 +00:00
christos
32232db57f
remove two (void)&foo; which are ot needed. From Anon Ymous
2006-12-15 20:22:06 +00:00
christos
d9cd708017
PR/35257: Andreas Gustafsson: tar(1) opens excluded files
...
Apply the file modification function in the input files so that we can
de-select matched patterns.
2006-12-14 23:18:11 +00:00
he
0a97c3f688
Complete the move of string_to_flags() and flags_to_string() from the
...
bin/ls sources to libutil:
o Bump libutil minor version number
o Fix uses to include <util.h> to pick up the function definitions
o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
he
29ff6ed16a
The "#ifdef UNUSED_BLOCK" in stat_flags.c wasn't so unused after
...
all -- it was used by the mtree source. So, instead do an "#ifdef
MTREE", and define that one when building mtree.
2006-12-14 17:54:19 +00:00
christos
78509e7f31
Pass lint. From Anon Ymous
2006-12-14 14:15:26 +00:00
he
7700f97e62
Use C99 initializer.
2006-12-10 17:33:01 +00:00
christos
ddbf1b0dd9
Sync with OpenBSD systrace 1.6d.
...
XXX: Some of the compat-linux systrace is disabled.
From elad.
2006-12-10 01:22:02 +00:00
wiz
1730a98675
Drop trailing whitespace.
2006-11-26 16:40:44 +00:00
wiz
5c056f6785
s/apparant/apparent/, from Zafer.
2006-11-24 22:54:47 +00:00
christos
3d98aa3f4b
fix spelling of accidentally; from Zapher
2006-11-24 19:37:02 +00:00
christos
ab56b9a702
getdate -> parsedate
2006-11-20 20:33:33 +00:00
christos
c8226bf504
getdate is in libutil.
2006-11-17 22:11:28 +00:00
christos
583dd15916
no names in params.
2006-11-15 17:00:09 +00:00
christos
8ddd07b65e
fix build with objdirs
2006-11-15 16:59:52 +00:00
christos
aa62ece776
Add -d option, similar to gnu date.
2006-11-15 16:55:18 +00:00
jdarrow
5d27a9d665
Add -j flag to not actually change the clock, just parse the date given
...
(if any) and then display it in the format given. Matches similar -j
flag functionality in FreeBSD/OpenBSD.
Change requested by George Georgalis on netbsd-users.
While I'm here, disambiguate the letters in the date string, by using
the same option letters as used by strftime(3).
2006-11-15 03:10:01 +00:00
christos
ccc92a707d
fix the sort order too.
2006-11-14 20:27:10 +00:00
christos
ce725e8fad
Fix signal list generation, from Jukka Salmi
2006-11-14 19:10:55 +00:00
cbiere
28fb298561
Added missing F_GETLK, F_SETLK, F_SETLKW to print_fcntlcmd().
2006-11-12 23:29:37 +00:00
christos
d0a868f481
Add support for printing the emulation of the process.
2006-10-29 22:32:53 +00:00
cbiere
1d3c56521c
Applied patch from PR bin/34790 so that ~/.kshrc is mentioned.
2006-10-24 18:30:25 +00:00
christos
5b08cf393d
c99 initializer
2006-10-16 00:43:00 +00:00
christos
18243309bd
c99 initializers
2006-10-16 00:37:55 +00:00
christos
272937609b
sprinkle volatile.
2006-10-16 00:36:19 +00:00
christos
3fccf7e09e
c99 initializers
2006-10-16 00:31:47 +00:00
christos
573bd5e5dd
add missing inititializer
2006-10-16 00:11:22 +00:00
christos
d2bca38017
use c99 initializers
2006-10-16 00:07:32 +00:00
christos
88e26c5a37
sprinkle volatile
2006-10-15 23:57:21 +00:00
christos
640b35e022
c99 initializers
2006-10-15 23:55:30 +00:00
wiz
dd94284f1e
Add -i to usage.
2006-10-13 20:37:10 +00:00
wiz
9dedcd8f8b
Remove trailing whitespace.
...
Remove a partially duplicated sentence.
2006-10-09 21:31:29 +00:00
elad
93bbf8101f
PR/32759: Ulrich Heilmann: Output of cat -s -n is wrong
...
Applied patch from David A. Holland, thanks!
2006-10-08 21:52:56 +00:00
apb
e7fd82468c
Make it clear that multiple sort keys may be specified.
...
Closes PR 34271.
2006-10-07 10:22:21 +00:00
elad
cf245f1ee7
PR/22799: Hiramatsu Yoshifumi: Add -i option to /bin/ln
...
Slightly modified patch applied, thanks!
2006-10-07 10:05:25 +00:00
elad
ed23b39f46
PR/34265: dieter roelants: pax truncates archive when appending fails.
...
Patch applied, thanks!
2006-10-07 09:53:20 +00:00
elad
9b5118f13d
PR/28450: David H. Gutteridge: date(1) does not validate its input and
...
accepts and processes impossible dates
Patch applied, thanks!
2006-10-07 09:34:46 +00:00
christos
ab28bede4c
Prefix "Syntax Error" with the program name, if the command name is not
...
available. At least this way we get an idea of what program gives us the
message.
2006-10-04 15:00:38 +00:00
wiz
103401b052
Avoid .No if easily possible.
2006-10-03 02:15:16 +00:00
apb
9ff8e2d57f
Add some markup missed in previous.
2006-10-02 20:54:27 +00:00
apb
7c5fcf623a
Set the width in the correct data structure. (Fix error in previous.)
2006-10-02 18:43:13 +00:00
apb
b9f435a549
Document changes to -o and -O options, and improve markup.
2006-10-02 17:57:01 +00:00
apb
d9463bc15b
* When all columns are given null customised headers, the blank header
...
line is not printed at all. This is specified in P1003.1-2004
(SUSv3), and is useful.
* Customised headers may contain embedded space, commas and equals
signs. To specify multiple customised headers, use multiple -o or -O
options. This is specified (for "-o", not for "-O") in P1003.1-2004
(SUSv3), and is useful.
* When a column is given a null (blank) customised header, it keeps its
default minimum width. This is specified in P1003.1-2004 (SUSv3), and
seems harmless.
* Fix a bug that made it impossible to print the same keyword multiple
times, with different customised headers each time. (Previously, the
last customised header was used for all instances of the keyword.)
* Make the behaviour of "-O" more useful. The first -O option adds
the default keywords only if there have not yet been any formatting
options, and multiple -O options now insert their keywords in adjacent
positions. Now {ps -j -O %cpu} is like {ps -j} with one extra column;
Previously, it would have had all the columns implied by "-j", plus
all the default columns, plus the extra column specified by "-O".
* Convert from home-grown linked lists to SIMPLEQ lists.
Discussed in tech-userlevel.
2006-10-02 17:54:35 +00:00
hubertf
7eef11b485
Revert previous (==) - not worth the trouble.
2006-09-24 13:24:08 +00:00
elad
8fea60435c
PR/34499: mac at S dot culver dot net: ls allocates more memory than needed
...
Applied patch, thanks!
2006-09-23 19:54:53 +00:00
elad
f090cf7468
PR/33396: Christian Biere: Global Warming may be caused by mv(1)
...
Applied patch, thanks!
2006-09-23 16:54:13 +00:00
wiz
0331d1430a
Use macro for HTML output.
2006-09-23 11:24:44 +00:00
wiz
dff6308718
Bump date for previous.
2006-09-23 11:22:10 +00:00
elad
acd3797c82
PR/16827: Giorgos Keramidas: addition of EXAMPLES section to
...
basesrc/bin/cat.1
Applied patch, thanks!
2006-09-23 00:01:39 +00:00
elad
cfbe6aa48d
PR/33635: Anne Bennett: Document 'a' and 'A' flags in ls(1).
...
strmode(3) already documented these, so use the description from there.
2006-09-22 23:00:32 +00:00