Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361819 - Bash does not do line continuations inside single quotes
Summary: Bash does not do line continuations inside single quotes
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: libbash (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-03 18:22 UTC by Petteri Räty (RETIRED)
Modified: 2018-01-25 17:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2011-04-03 18:22:34 UTC
http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=blob_plain;f=bashast/gunit/continued_lines.gunit;hb=da99007ae235f6d19c917d1ff79b3a4838b9b61a

The second test doesn't seem correct. Single quotes pretty much keep everything inside them verbatim.

betelgeuse@pena ~/gsoc/libbash $ cat foo.sh 
echo 'foo\
'
echo "laa\
"
betelgeuse@pena ~/gsoc/libbash $ bash foo.sh 
foo\

laa
Comment 1 Pacho Ramos gentoo-dev 2018-01-25 17:53:24 UTC
Developer retired (and his mail address is not active anymore)