Re: [PATCH 0/8] doc/bash.1: silence groff warnings, fix style issues

2024-01-18 Thread Chet Ramey

On 1/10/24 11:17 AM, G. Branden Robinson wrote:

With this series of changes, bash(1) formats quiescently for me using
groff 1.23.0 with the following command line.

nroff -ww -rCHECKSTYLE=1 -man -z doc/bash.1


Thanks for these fixes; I'll look at them over the next couple of days.
I'll let you know if I have questions.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/



OpenPGP_signature.asc
Description: OpenPGP digital signature


BUG: Here-doc delimiter: unclosed quotes

2024-01-18 Thread Dastan Abdygali
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: darwin19.6.0
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: Darwin lab1r2s10.42abudhabi.ae 19.6.0 Darwin Kernel Version
19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.$
Machine Type: x86_64-apple-darwin19.6.0

Bash Version: 5.2
Patch Level: 0
Release Status: release

Description:
If unclosed single quotes or unclosed double quotes are used as a
delimiter in here-doc, bash lets the user finish the quote on
the next lines. As a result delimiter contains \newline character.
Which even if pasted does not trigger the
here-doc to be concluded.

Repeat-By:
Just try the following command and try to execute:
cat <