[Help-bash] Using single quotes to escape a newline
From:
Michael Convey
Subject:
[Help-bash] Using single quotes to escape a newline
Date:
Wed, 1 Jul 2015 07:21:46 -0700
According to: Newham, Cameron (2005-03-29). Learning the bash Shell: Unix
Shell Programming (In a Nutshell (O'Reilly)) (Kindle Locations 863-864).
O'Reilly Media. Kindle Edition.
"Whether you use a backslash or a single quote, you are telling the shell
to ignore the special meaning of the RETURN character."
However, when I try to use single quotes to escape a newline, the newline
is not escaped, as follows:
$ echo 'the fox
> ran down the hill'
the fox
ran down the hill
$
Has the ability of single quotes to escape a newline changed since this
book was written?