summary refs log tree commit diff
path: root/bin (follow)
Commit message (Expand)AuthorAge
...
* Add basic HISTFILE load and saveJune McEnroe2019-01-15
* Add shell and unshell targetsJune McEnroe2019-01-15
* Use flock(2) when loading and saving historyJune McEnroe2019-01-15
* Add guides to psfedJune McEnroe2019-01-14
* Check for NULL copy or undo buffers in psfedJune McEnroe2019-01-14
* Add cash.7 READMEJune McEnroe2019-01-14
* Document old=new argument of fc -sJune McEnroe2019-01-14
* Allow replacing empty string with fc old=newJune McEnroe2019-01-14
* Enable warnings in libeditJune McEnroe2019-01-13
* Shorten $HOME to ~ in prompt expansionJune McEnroe2019-01-13
* Document PSlitJune McEnroe2019-01-13
* Document PS0June McEnroe2019-01-13
* Add PS0June McEnroe2019-01-13
* Change default ENV from cashrc to env.shJune McEnroe2019-01-13
* Set PSlit like NetBSD shJune McEnroe2019-01-12
* Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe2019-01-12
* Restore cash builtin man page datesJune McEnroe2019-01-12
* Use local libeditJune McEnroe2019-01-12
* Replace libedit MakefileJune McEnroe2019-01-12
* Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe2019-01-11
* Add PSlit for prompt escapesJune McEnroe2019-01-11
* Don't make depend automaticallyJune McEnroe2019-01-11
* Set default ENV to ~/.config/cash/cashrcJune McEnroe2019-01-11
* Add "blank" lines to cash.1June McEnroe2019-01-11
* Document RPS1 and RPS2June McEnroe2019-01-10
* Add cash install and uninstall targetsJune McEnroe2019-01-10
* Fix header dependencies in cash MakefileJune McEnroe2019-01-10
* Clean up cash MakefileJune McEnroe2019-01-10
* Reference cash-specific builtin man pagesJune McEnroe2019-01-10
* Create cash-printf.1June McEnroe2019-01-10
* Create cash-test.1June McEnroe2019-01-10
* Create cash-kill.1June McEnroe2019-01-10
* Create cash.1June McEnroe2019-01-10
* Import /usr/src/usr.bin/printf/printf.1 from FreeBSD 12.0-RELEASEJune McEnroe2019-01-10
* Import /usr/src/bin/test/test.1 from FreeBSD 12.0-RELEASEJune McEnroe2019-01-10
* Import /usr/src/bin/kill/kill.1 from FreeBSD 12.0-RELEASEJune McEnroe2019-01-10
* Set RPROMPT from RPS1 and RPS2June McEnroe2019-01-10
* Fix unused copyright and rcsid in cashJune McEnroe2019-01-10
* Remove cash/testsJune McEnroe2019-01-10
* Remove funcsJune McEnroe2019-01-10
* Remove profile and dot.profileJune McEnroe2019-01-10
* Replace strchrnul with strchrJune McEnroe2019-01-10
* Replace eaccess with faccessatJune McEnroe2019-01-10
* Replace st_mtim with st_mtimespecJune McEnroe2019-01-10
* Replace sys_nsig with NSIGJune McEnroe2019-01-10
* Replace cash MakefileJune McEnroe2019-01-10
* Move bltin out of subdirectoryJune McEnroe2019-01-10
* Import /usr/src/usr.bin/printf/printf.c from FreeBSD 12.0-RELEASEJune McEnroe2019-01-10
* Import /usr/src/bin/test/test.c from FreeBSD 12.0-RELEASEJune McEnroe2019-01-10
* Import /usr/src/bin/kill/kill.c from FreeBSD 12.0-RELEASEJune McEnroe2019-01-10
On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote: > On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote: > > > > Okay, it can be trivially modified to something that does work in other > > shells (even if it were actually executed), but gets rejected at parse time > > by dash: > > > > if false; then > > : ${$+ > > } > > fi > > That's just a bug in dash's parser with ${} in general, because > it bombs out without the if clause too: > > : ${$+ > } This patch fixes the parsing of newlines with parameter substitution. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu On Sun, Mar 04, 2018 at 12:44:59PM +0100, Harald van Dijk wrote: > > command: set -- a ""; space=" "; printf "<%s>" "$@"$space > bash: <a><> > dash 0.5.8: <a>< > > dash 0.5.9.1: <a>< > > dash patched: <a><> This is actually composed of two bugs. First of all our tracking of quotemark is wrong so anything after "$@" becomes quoted. Once we fix that then the problem is that the first space character after "$@" is not recognised as an IFS. This patch fixes both. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu This reverts commit 7bb413255368e94395237d789f522891093c5774. The commit breaks printf with more than argument. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu