Age | Commit message (Collapse) | Author |
|
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@
|
|
from Pierre Riteau
ok otto
|
|
|
|
you to install the bzip2 pkg (or add bzip2 in another way).
ok millert@ otto@ deraadt@ and 'many others'@
man page tweak from jmc@
|
|
EACCES. From Tim van der Molen; ok millert@ ray@
|
|
getpass().
With input by and ok otto
|
|
wrap options around to fill out the 80 columns; spacing.
tweaked by jsing@, thank you very much!
ok jsing@
|
|
to the same inode. This is consistent with other implementations.
OK deraadt@ miod@ ray@
|
|
use the right capitalization for "sendmail".
tweaks by jmc@ and jsing@, thanks!
ok jmc@, jsing@, millert@
|
|
|
|
underflows. fixes fc -l 1 in my box where line is 1667511151.
krw@ ok.
|
|
ok (some time ago) jmc@
|
|
|
|
not one changed, we should not exit with an error but zero to indicate
success (matches solaris behaviour).
need to track wether files were skipped because of the -u checks for that
and take that into account later when taking the exit code decision.
ok theo, comments from otto and miod
|
|
directory cannot be written and ~/ed.hup path has to be built up. Also
pay special care that HOME is an absolute path name.
With input by millert.
ok deraadt, millert
|
|
while here, make the description of -m more consistent for mkdir,
mkfifo, and mknod.
add a touch of .Ex for mkdir too.
|
|
from Jacek Masiulaniec, via ray@
ok ray@
|