summary refs log tree commit diff
path: root/src/funcs/newgrp
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-09-08 20:23:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-09-08 20:23:25 +0800
commitb61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166 (patch)
tree4794b21ddac4ea469d2902342c169628d905cd95 /src/funcs/newgrp
parent[EXPAND] Fix ifsfirst/ifslastp leak (diff)
downloaddash-b61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166.tar.gz
dash-b61ab0b33b4f9ea5fb3663fe8fa0d5fd70e6c166.zip
[BUILTIN] Fix trailing field bug in read(1)
The new read(1) code fails to handle the last variable correctly if
it happens to be terminated by IFS characters.  Those characters
are included in the last variable but they should not be.

This patch fixes this.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/newgrp')
0 files changed, 0 insertions, 0 deletions
'>2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe 2019-07-12Support insert mode in shottyJune McEnroe 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe