summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2009-03-06after some discussion with millert, pull in the character class infoJason McIntyre
from glob(7) to the shell pages - they have their own glob stuff, and pointing to glob(7) is just not helpful. ok millert
2009-03-05Add glob(7) and refer to it. OK jmc@ sobrado@Todd C. Miller
2009-03-04from wiz@netbsd, -r1.44:Jason McIntyre
Log Message: Remove weird backslash that somehow must have crept in. Found by joerg and mdocml.
2009-03-03Add POSIX character class support ([:alpha:] and friends) to ksh globbing.Todd C. Miller
OK deraadt@ krw@ jmc@ sobrado@
2009-03-01Fix PR #723: test(1) operator precedence inconsistent with POSIXOtto Moerbeek
Make sure ksh builtin test and test(1) do not differ. From Christiano Farina Haesbaert. ok miod@
2009-03-01fix double space in synopsis and usage.Igor Sobrado
2009-02-13argv space does not need to be trashed during parsingTheo de Raadt
2009-02-08updates to IEEE Std 1003.1-2008;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-02-07some tweaks for previous that got missed;Jason McIntyre
2009-02-07Ensure that *wp isn't NULL.Matthias Kilian
ok otto@
2009-02-07Make built-in echo behave according to POSIX when set -o posix is in effect:Philip Guenthe
the only option is -n, and only one of those is parsed. diff from Ingo Schwarze ok otto@ kili@; manpage changes ok jmc@
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
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.
2009-01-28synchronize synopsis and usage.Igor Sobrado
2009-01-28remove some duplicate information from the description of -g: thisJason McIntyre
information is already provided further down the page; ok sobrado
2009-01-22document regexp supportMarc Espie
okay millert@, jmc@
2009-01-21Do not mention /dev/drum anymore, since we won't use it. With tweaks fromMiod Vallat
jmc@
2009-01-21fix the synopsis for chown(8)Igor Sobrado
2009-01-19replace standardized text concerning the exit values of applicationsIgor Sobrado
with the right mdoc macros.
2009-01-17Use libc qsort instead of private version. Tested by several people.Todd C. Miller
2009-01-06i saw the previous was wrong as soon as i committed it: put theJason McIntyre
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.
2009-01-06- rearrange the text to read a little more sanelyJason McIntyre
- use standard Ds argument to list width
2009-01-06document, consistently, those apps which also exist as built-insJason McIntyre
on certain shells; do not try to document changes between the implementations, but at least warn of their existence; diff from Ingo Schwarze
2009-01-04replace hardcoded exit values with .Ex macros;Igor Sobrado
ok jmc@
2008-12-30add a comment explaining the rather obscure decision when to recurseOtto Moerbeek
or not; ok millert@ pedro@
2008-12-29fix previous; e.g. ls /var/spool/mqueue as an oridinary user. okOtto Moerbeek
millert@ thib@
2008-12-27prevent line breaks in the middle of options.Igor Sobrado
jmc@ suggested replacing ".Op Ar file ..." with just ".Op Ar", and provided excellent feedback about where placing the .Bk/.Ek macros. ok jmc@
2008-12-24Kill a race condition which occurs when listing a directory containingOtto Moerbeek
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@
2008-10-21various doc fixes related to how mv handles symlinksJason McIntyre
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
2008-10-05the ellipsis allow more than one operand being specified.Igor Sobrado
ok jmc@
2008-10-03NUL not NULLTheo de Raadt
2008-10-01for the `g' and `G' commands, document that if no lines matchJason McIntyre
the regular expression then the current line number remains unchanged;
2008-10-01give a less confusing error message on bindresvport() failure; okOtto Moerbeek
matthieu@ millert@
2008-09-30Fix a problem in the last commit. Upon closer reading of POSIX, inTodd C. Miller
-p mode we only want to change the mode on directories we actually created.
2008-09-30Fix "-m mode" in conjunction with the -p flag. Also simplify the errorTodd C. Miller
handling. Closes PR 5908. OK deraadt@
2008-09-29more updates on which args do and do not mix (doc only, this time):Jason McIntyre
- 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
2008-09-06adapt to sha2(3) API changes; ok millert@Damien Miller
2008-09-04- make -ln and -nl combinations behave identically. currently -l overrides -n.Jason McIntyre
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
2008-08-11plug a memleak when freeing io redirection in commands.Jared Yanovich
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@.
2008-07-29md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;Igor Sobrado
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@
2008-07-23fix stack abuse in the `time' commmand, using alloc()'d memory instead.Jared Yanovich
reported by Thorsten Glaser, thanks. ok millert@, earlier version miod@
2008-07-21Extra sanity checking for afree(); OK deraadt@ and pvalchev@Todd C. Miller
2008-07-18remove unnessasary cast.Kevin Lo
ok millert@
2008-07-12Fix a strlcpy() bound.Miod Vallat
2008-07-05ksh starting as root will refuse to import a PS1 prompt unless itDamien Miller
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@
2008-07-03fix inifinite loop with set -o csh-history and !<space> as input.Otto Moerbeek
report and testing by david@; ok millert@ jaredy@
2008-06-17better description of what ps without arguments does;Jason McIntyre
from Pierre Riteau ok otto
2008-06-11(sorry pval) some missing -j bits;Jason McIntyre
2008-06-11Add tar -j option that calls bzip2 for compress/decompress. RequiresPeter Valchev
you to install the bzip2 pkg (or add bzip2 in another way). ok millert@ otto@ deraadt@ and 'many others'@ man page tweak from jmc@
2008-06-10do not ask the "override?" question if access fails for other resaons thanOtto Moerbeek
EACCES. From Tim van der Molen; ok millert@ ray@