summary refs log tree commit diff
path: root/src/bltin
diff options
context:
space:
mode:
authorHarald van Dijk <harald@gigawatt.nl>2018-03-08 08:37:11 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-22 00:25:35 +0800
commit6bbc71d84bea101370830dc3272f51c5ec1a7a78 (patch)
treed076148ae83b61feceb358170ffc0dc45bc0b832 /src/bltin
parentbuiltin: Greater resolution in test -nt / test -ot (diff)
downloaddash-6bbc71d84bea101370830dc3272f51c5ec1a7a78.tar.gz
dash-6bbc71d84bea101370830dc3272f51c5ec1a7a78.zip
parser: use pgetc_eatbnl() in more places
dash has a pgetc_eatbnl function in parser.c which skips any
backslash-newline combinations. It's not used everywhere it could be.
There is also some duplicated backslash-newline handling elsewhere in
parser.c. Replace most of the calls to pgetc() with calls to
pgetc_eatbnl() and remove the duplicated backslash-newline handling.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/bltin')
0 files changed, 0 insertions, 0 deletions
-12 22:44:03 -0500'>2021-01-12Use hilex for bin HTMLJune McEnroe 2021-01-12Don't output a pre in hilex by defaultJune McEnroe 2021-01-12Move hilex out of hilex directoryJune McEnroe 2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe 2021-01-12Split fields by tab onlyJune McEnroe 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe 2021-01-09Add c -t flag to print expression typeJune McEnroe 2021-01-05Update taglineJune McEnroe