summary refs log tree commit diff
Commit message (Expand)AuthorAge
...
* Rename wat to everJune McEnroe2019-08-28
* Remove brot and gfxxJune McEnroe2019-08-28
* Use rand(3) in beefJune McEnroe2019-08-28
* Remove wakeJune McEnroe2019-08-28
* Add The Fated SkyJune McEnroe2019-08-28
* Factor out cap_rights_limit error handlingJune McEnroe2019-08-28
* Cast %lc parameter to wint_tJune McEnroe2019-08-27
* Remove host thursdayJune McEnroe2019-08-27
* Add cards to causal.agencyJune McEnroe2019-08-22
* Add Record of a Spaceborn FewJune McEnroe2019-08-20
* Add The Calculating StarsJune McEnroe2019-08-13
* Make dtch one command, add sinkingJune McEnroe2019-08-12
* Add ImagoJune McEnroe2019-08-03
* Add KindredJune McEnroe2019-07-29
* Clean up home filesJune McEnroe2019-07-27
* Fix shell script style in ~/.local/binJune McEnroe2019-07-27
* Shell script style passJune McEnroe2019-07-27
* Add c11.pdfJune McEnroe2019-07-27
* Move pdf script to MakefileJune McEnroe2019-07-27
* Update macOS neovim to 0.3.8June McEnroe2019-07-27
* Rewrite port makefiles consistentlyJune McEnroe2019-07-27
* Rewrite Makefile once more with more organizationJune McEnroe2019-07-27
* Reference png.h in bin.7June McEnroe2019-07-27
* Revert "Use scheme to style HTMLs"June McEnroe2019-07-27
* Remove scheme text linkJune McEnroe2019-07-27
* Update Dark.terminalJune McEnroe2019-07-26
* Lighten dark whiteJune McEnroe2019-07-26
* Add png.3 man pageJune McEnroe2019-07-25
* Use scheme to style HTMLsJune McEnroe2019-07-25
* Don't match comments in strings in makeJune McEnroe2019-07-25
* Generate index.html with links from bin.7June McEnroe2019-07-25
* Warn when date has changedJune McEnroe2019-07-24
* Add whenJune McEnroe2019-07-24
* Remove histedit from bitJune McEnroe2019-07-24
* Add wiki scriptJune McEnroe2019-07-24
* Add beginning of date calculatorJune McEnroe2019-07-23
* Handle media copy sequence in shottyJune McEnroe2019-07-20
* Handle shotty output options more centrallyJune McEnroe2019-07-20
* Add ^Q to ptee for MC sequenceJune McEnroe2019-07-17
* Add Adulthood RitesJune McEnroe2019-07-17
* Add catgirl shottyJune McEnroe2019-07-16
* Fix SGRs 90 and 100June McEnroe2019-07-16
* Add up -tJune McEnroe2019-07-15
* Implement scrolling regionJune McEnroe2019-07-15
* Add CSI names to shotty -dJune McEnroe2019-07-14
* Ignore CSI tJune McEnroe2019-07-14
* Add more info to shotty man pageJune McEnroe2019-07-14
* Fix OSC PT handlingJune McEnroe2019-07-14
* Handle OSC in shottyJune McEnroe2019-07-14
* Add shotty -dJune McEnroe2019-07-14
k testing does, also work to fix the > original $@ bug. You're right. The proper fix to this is to ensure that nulonly is not set in varvalue for $*. It should only be set for $@ when it's inside double quotes. In fact there is another bug while we're playing with $@/$*. When IFS is set to a non-whitespace character such as :, $* outside quotes won't remove empty fields as it should. This patch fixes both problems. Reported-by: Martijn Dekker <martijn@inlv.org> Suggested-by: Harald van Dijk <harald@gigawatt.nl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu 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