summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2004-12-13Only warn if we try to cp(1) a socket. Consequently, this makesOtto Moerbeek
mv(1)ing trees containing sockets across filesystems much more smooth. ok millert@ tedu@ fgsch@ pedro@ deraadt@
2004-12-13Use warnx() instead of warn() in four places where we know errno is zero.Otto Moerbeek
ok henning@ fgsch@ pedro@ millert@
2004-12-13Restore sp before calling snptreef() so the error message containsTodd C. Miller
the actual expression that caused the error. OK otto@
2004-12-13standard EXAMPLES;Jason McIntyre
2004-12-13more references to hier(7), from mickey;Jason McIntyre
2004-12-13make hier(7) more visible;Jason McIntyre
tweak some stuff while i'm in here;
2004-12-12escape punctuation;Jason McIntyre
2004-12-12csh-style ! history completion, which can be activated by usingTheo de Raadt
set -o csh-history (off by default) this is not feature complete, and likely never will be. no ^ and ! has some oddities ... ksh's internal history stuff has got some very odd behaviours that are rather nasty ok various developers
2004-12-10GNU md5sum uses tab not space to separate filename and hash. FixesTodd C. Miller
parsing of GNU-style checklist files for files with spaces in them. From Emil Mikulic; closes PR 4027
2004-12-10sort options + sync usage();Jason McIntyre
standard EXAMPLES; various other tweaks; ok millert@
2004-12-10flurry of updates:Jared Yanovich
- be more consistent w.r.t. variables in macros with `.Ic' instead of `.Va' - document changes in IFS parsing - minimize diffs between ksh.1tbl and sh.1tbl w.r.t. `.Nm' macros and in other places - sort recognized keywords and remove dependency on tbl(1) - indent example displays - kill `bind' - collapse `test' display, it has two entries for `str', and use different args for file time tests - grammar, punctuation, and mdoc fixes - tidy display of `alias' and `kill' ok and bits from jmc
2004-12-09partially backout prevous commit, it breaks eval of ${a[@]}Otto Moerbeek
2004-12-08Fix core dumps for ${@:?word} and ${foo[@]?bar}. With help fromTodd C. Miller
and OK otto@. Closes PR 4023.
2004-12-07Document cp(1) does not preserve hard links. With and ok jmc@ and millert@Otto Moerbeek
2004-12-04minor tweaks; ok jmcJared Yanovich
2004-11-29Build the table of created directories in-memory, instead of usingOtto Moerbeek
a tmp file. Makes it possible to unpack an archive without using /tmp, while memory usage is still within every reasonable limit. "love it" deraadt@ ok millert@ jaredy@
2004-11-29Spell precede correctly.Jonathan Gray
'looks fine' millert@, krw@. ok jmc@
2004-11-25Change the behavior of IFS word-splitting: split wordsJared Yanovich
when the current character is IFS space and the last character was a word character or it was non-white IFS space and the current character is non-white IFS space. This deviates from the previous behavior because the latter splits words when the last character is any IFS space and the current is non-white IFS, resulting in more fields most of the time. This new behavior follows what the man page describes; i.e., that a field is delimited by one or more IFS whitespace characters followed by zero or one non-white IFS characters. Requires addition of a new substitution expansion state to handle the special case of empty fields at the beginning. testing by naddy ok jmc, millert, otto, deraadt
2004-11-24remove obsolete `A' from `state' example;Jason McIntyre
ok millert@
2004-11-24on MP machines, in STAT field, add /# where # is the cpu number so thatTheo de Raadt
you can see processes move around; ok pval millert
2004-11-18Sync usage with man page; Paul de WeerdTodd C. Miller
2004-11-18handle SONPROC; ok aaron, deraadt, krwMarkus Friedl
2004-11-17Document exit code, pointed out by Paul de Weerd.Todd C. Miller
2004-11-10defer ! and !! handling till prompt printing, like real ksh, and this nowTheo de Raadt
means even less fallout from the prompt expansion changes; ok jmc
2004-11-09/bin/sh supports PS1 expansion;Jason McIntyre
2004-11-08add a more complex PS1 example, which does not use the new backslashJason McIntyre
sequences; from naddy@, via deraadt@
2004-11-06\[ and \] delimit blocks of characters which are processed just likeTheo de Raadt
regular things, except that character counting is turned off temporarily. character counting is needed so that the shell can handle editing beyond end-of-line and such as well, ksh hack: prompts prefixed with [delimitchar]\r means that any blocks between later matching [delimitchar] toggle counting on and off semantics corrected based on input from naddy
2004-11-06change \w to output ~/subpath type things, except for root of courseTheo de Raadt
naddy ok
2004-11-06correct my description of \[ and \]Jason McIntyre
found by (and ok) deraadt@
2004-11-05document PS1 expansions;Jason McIntyre
2004-11-05incorrect markup was messing the description of IFS. i've rearranged itJason McIntyre
slightly so that no one (me, most likely) falls for it again. also, make sh(1)'s IFS description a little more consistent.
2004-11-04do the variety-pack of bash-style \letter expansions on prompt variables.Theo de Raadt
a few issues remain with \ and $ and ! because of early variable expansion done by incorrect eval/substitution, but this change is not responsible for that. tested by djm, jmc, and many others
2004-11-03HISTSIZE cranked to 500Jared Yanovich
2004-11-02crank history to 500, requested by pvalTheo de Raadt
2004-10-28fix spacing after period at EOL. from ray@cyth.netJared Yanovich
2004-10-23If a uid or gid does not fit into into the tar header, issue a warningOtto Moerbeek
and use the uid/gid of nobody. Spotted by and ok drahn@, ok millert@
2004-10-15Don't print header if we didn't print any usage lines. Noticed andTodd C. Miller
tested by robert@
2004-10-04remove the section on regular expressions - instead point peopleJason McIntyre
to re_format.7 (which is where the list of BREs went); also, rename LIMITATIONS to CAVEATS, as this is a standard mdoc thing, and shuffle it to the end of the page;
2004-09-28remove confusing sentence which suggests we usually run in single-userJason McIntyre
mode; instead correctly reference securelevel(7); based on a diff from han boetes; ok millert@
2004-09-16Use angle bracket macros instead of literal angle brackets. OK jmc@Todd C. Miller
2004-09-16de-lint (long vs int vs unsigned); otto okTheo de Raadt
2004-09-16ARGSUSED on signal handlerTheo de Raadt
2004-09-14remove unused variableTheo de Raadt
2004-09-14rename internal uname() to euname() to avoid libc conflictTheo de Raadt
2004-09-14fd leak (and who said lint never finds real bugs)Theo de Raadt
2004-09-14remove unused variableTheo de Raadt
2004-09-14do not alias unions between files (lint hates it)Theo de Raadt
2004-09-14ARGSUSED before signal handler with unused signoTheo de Raadt
2004-08-24Note that collisions have been found for MD5, so SHA-1 is preferred.Tom Cosgrove
Also fix the reference to RFC 1321, which describes MD5 alone (not MD2 or MD4). ok jmc@, millert@
2004-08-23Don't send SIGINT or SIGTERM to the entire processes group when theTodd C. Miller
shell receives SIGINT/SIGTERM unless the shell is the process group leader. Fixes PR 3820. OK danh@ sturm@ miod@