Age | Commit message (Collapse) | Author |
|
from FreeBSD
ok millert@, posix checked by jmc@
|
|
|
|
lists encounter a name too long for the width of the terminal.
from Matthew Haub, no objections krw@.
|
|
allocations fails.
looks right deraadt, krw
ok henning
|
|
from glob(7) to the shell pages - they have their own glob stuff,
and pointing to glob(7) is just not helpful.
ok millert
|
|
|
|
Log Message:
Remove weird backslash that somehow must have crept in.
Found by joerg and mdocml.
|
|
OK deraadt@ krw@ jmc@ sobrado@
|
|
Make sure ksh builtin test and test(1) do not differ.
From Christiano Farina Haesbaert. ok miod@
|
|
|
|
|
|
|
|
updates to follow;
|
|
|
|
ok otto@
|
|
the only option is -n, and only one of those is parsed.
diff from Ingo Schwarze
ok otto@ kili@; manpage changes ok jmc@
|
|
match what both POSIX and ksh.1 already describe in regards to set
-e/errexit's behavior in determining when to exit from nonzero return
values.
specifically, the truth values tested as operands to `&&' and `||', as
well as the resulting compound expression itself, along with the truth
value resulting from a negated command (i.e. a pipeline prefixed `!'),
should not make the shell exit when -e is in effect.
issue reported by matthieu.
testing matthieu, naddy.
ok miod (earlier version), otto.
man page ok jmc.
|
|
|
|
information is already provided further down the page;
ok sobrado
|
|
okay millert@, jmc@
|
|
jmc@
|
|
|
|
with the right mdoc macros.
|
|
|
|
built-in blurb in STANDARDS; we did once have a COMPATIBILITY section
which we merged with STANDARDS, so i think this is appropriate. it
certainly feels better than adding single sentences randomly to the
end of text bodies.
|
|
- use standard Ds argument to list width
|
|
on certain shells; do not try to document changes between the
implementations, but at least warn of their existence;
diff from Ingo Schwarze
|
|
ok jmc@
|
|
or not; ok millert@ pedro@
|
|
millert@ thib@
|
|
jmc@ suggested replacing ".Op Ar file ..." with just ".Op Ar",
and provided excellent feedback about where placing the .Bk/.Ek macros.
ok jmc@
|
|
an empty dir non-recursively. By not setting FTS_SKIP on the empty
subdir, a next iteration of the fts_read loop recurses into the
subdir, which might not be empty any more. Report by jacekm@,
troublespot identified by pedro@; ok pedro@ millert@
|
|
and file system traversal;
this is work from Ingo Schwarze, tweaked a little by myself,
and we borrowed half a sentence from the netbsd man page too;
ok sobrado
|
|
ok jmc@
|
|
|
|
the regular expression then the current line number remains unchanged;
|
|
matthieu@ millert@
|
|
-p mode we only want to change the mode on directories we actually created.
|
|
handling. Closes PR 5908. OK deraadt@
|
|
- list -f in the -cStu "exclusive group" (we already document that -f
overrides these options)
- note that our implementation of -f differs from posix
- -k and -u do not override each other: those options are not used together
ok sobrado
|
|
|
|
behaviour now similar to netbsd/freebsd/solaris.
- make -gn and -ng combinations behave identically: long listing, numeric
group ID, no user ID. currently -g overrides -n. behaviour now similar to
netbsd/solaris.
- allow -m and -x to override -1Cgln (and each other) if specified last.
currently -m and -x can be overriden even if they are specified last.
behaviour now similar to netbsd/freebsd. fixes PR 5785 from
Jacek Masiulaniec.
- update man page to reflect reality.
ls.c diff based on Jacek Masiulaniec's diff from PR 5785, and extended by
sobrado. this work is really a joint effort from sobrado and myself.
i don't know about igor, but this particular diff has nearly killed me...
ok millert otto
|
|
the leaked memory is actually reclaimed when the command
finishes but may grow until that happens, e.g. during
command execution.
ok phessler@.
testing sobrado@ jmc@ oga@.
|
|
while here, some KNF improvements.
based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.
ok millert@, pyr@; (for the manual page tweaks) jmc@
|
|
reported by Thorsten Glaser, thanks.
ok millert@, earlier version miod@
|
|
|
|
ok millert@
|
|
|
|
contains a '#' character. Make it also accept the \$ PS1 sequence
(which is supposed to automagically be $ or # depending on the user
running the shell) unless ksh has been started in sh-compatibility
mode.
pointed out by millert@ when I asked why my SUDO_PS1 was not being
honoured; ok millert@
|
|
report and testing by david@; ok millert@ jaredy@
|