public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] make.defaults: line wrapping in quoted strings
@ 2010-04-24 20:58 Ulrich Mueller
  2010-04-24 21:00 ` Ciaran McCreesh
  0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2010-04-24 20:58 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 117 bytes --]

Attached patch clarifies the wording about line wrapping in quoted
strings. See bug 316269.

Please review.

Ulrich


[-- Attachment #2: 0001-Clarify-wording-about-line-wrapping-in-quoted-string.patch --]
[-- Type: text/plain, Size: 1193 bytes --]

From 74004f60947162f934c1ff6f3159b319e8333c50 Mon Sep 17 00:00:00 2001
From: Ulrich Mueller <ulm@gentoo.org>
Date: Sat, 24 Apr 2010 22:53:55 +0200
Subject: [PATCH] Clarify wording about line wrapping in quoted strings.

Fixes bug 316269.
---
 profiles.tex |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/profiles.tex b/profiles.tex
index 28d6950..255ac98 100644
--- a/profiles.tex
+++ b/profiles.tex
@@ -58,8 +58,8 @@ bash syntax, is allowed as follows:
 \item Variables to the right of the equals sign in the form \t{\$\{foo\}} or \t{\$foo} are recognised and
   expanded from variables previously set in this or earlier \t{make.defaults} files.
 \item One logical line may be continued over multiple physical lines by escaping the newline with a
-  backslash. A quoted string may also continue over multiple physical lines in this fashion, so that 
-  the quoted string can begin, continue, and end on two or more separate lines.
+  backslash. A quoted string may be continued over multiple physical lines by a simple newline or a
+  backslash-escaped newline.
 \item Backslashes, except for line continuations, are not allowed.
 \end{compactitem}
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [gentoo-pms] make.defaults: line wrapping in quoted strings
  2010-04-24 20:58 [gentoo-pms] make.defaults: line wrapping in quoted strings Ulrich Mueller
@ 2010-04-24 21:00 ` Ciaran McCreesh
  2010-04-24 21:12   ` Ulrich Mueller
  0 siblings, 1 reply; 5+ messages in thread
From: Ciaran McCreesh @ 2010-04-24 21:00 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

On Sat, 24 Apr 2010 22:58:39 +0200
Ulrich Mueller <ulm@gentoo.org> wrote:
> + A quoted string may be continued over multiple physical
> lines by a simple newline or a backslash-escaped newline.

That needs an 'either'.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-pms] make.defaults: line wrapping in quoted strings
  2010-04-24 21:00 ` Ciaran McCreesh
@ 2010-04-24 21:12   ` Ulrich Mueller
  2010-04-24 21:14     ` Ciaran McCreesh
  0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Mueller @ 2010-04-24 21:12 UTC (permalink / raw
  To: Ciaran McCreesh; +Cc: gentoo-pms

>>>>> On Sat, 24 Apr 2010, Ciaran McCreesh wrote:

>> + A quoted string may be continued over multiple physical
>> lines by a simple newline or a backslash-escaped newline.

> That needs an 'either'.

Hm, which variant is better:
"either by a ... or by a" or "by either a ... or a"?

Ulrich



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-pms] make.defaults: line wrapping in quoted strings
  2010-04-24 21:12   ` Ulrich Mueller
@ 2010-04-24 21:14     ` Ciaran McCreesh
  2010-05-01  7:05       ` Ulrich Mueller
  0 siblings, 1 reply; 5+ messages in thread
From: Ciaran McCreesh @ 2010-04-24 21:14 UTC (permalink / raw
  To: Ulrich Mueller; +Cc: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

On Sat, 24 Apr 2010 23:12:06 +0200
Ulrich Mueller <ulm@gentoo.org> wrote:
> >>>>> On Sat, 24 Apr 2010, Ciaran McCreesh wrote:
> >> + A quoted string may be continued over multiple physical
> >> lines by a simple newline or a backslash-escaped newline.
> 
> > That needs an 'either'.
> 
> Hm, which variant is better:
> "either by a ... or by a" or "by either a ... or a"?

The latter. I'd use the former if the subclauses were longer.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-pms] make.defaults: line wrapping in quoted strings
  2010-04-24 21:14     ` Ciaran McCreesh
@ 2010-05-01  7:05       ` Ulrich Mueller
  0 siblings, 0 replies; 5+ messages in thread
From: Ulrich Mueller @ 2010-05-01  7:05 UTC (permalink / raw
  To: Ciaran McCreesh; +Cc: gentoo-pms

>>>>> On Sat, 24 Apr 2010, Ciaran McCreesh wrote:
>> >> + A quoted string may be continued over multiple physical
>> >> lines by a simple newline or a backslash-escaped newline.
>> 
>> > That needs an 'either'.
>> 
>> Hm, which variant is better:
>> "either by a ... or by a" or "by either a ... or a"?

> The latter. I'd use the former if the subclauses were longer.

Pushed.

Ulrich



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-01  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-24 20:58 [gentoo-pms] make.defaults: line wrapping in quoted strings Ulrich Mueller
2010-04-24 21:00 ` Ciaran McCreesh
2010-04-24 21:12   ` Ulrich Mueller
2010-04-24 21:14     ` Ciaran McCreesh
2010-05-01  7:05       ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox