[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: whitespace in filenames
From: |
Stephan Beal |
Subject: |
Re: whitespace in filenames |
Date: |
Thu, 25 Sep 2008 00:01:33 +0200 |
On Wed, Sep 24, 2008 at 11:55 PM, Brian Dessent <address@hidden> wrote:
> But in that context you can just use --arg1="$(SOME_VAL_WITH_SPACES)"
> because the shell does recognise quotes, and make just passes everything
> in the recipe through sh -c.
i was thinking that $(quote) might do some more intelligent handling, e.g.:
a) if the value contains ' characters, quote it with " chars.
b) if the value contains " chars, quote it with '
c) if the value contains both, quote it with " and backslash-escape
any " literals in the value.
That said, i don't think it would be useful terribly often.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
RE: whitespace in filenames, Rinehart, Raleigh, 2008/09/24
- Re: whitespace in filenames, Patrick Horgan, 2008/09/25
- Re: whitespace in filenames, Ted Zlatanov, 2008/09/25
- Re: whitespace in filenames, Patrick Horgan, 2008/09/25
- RE: whitespace in filenames, Dave Korn, 2008/09/25
- Re: whitespace in filenames, Patrick Horgan, 2008/09/25
Re: whitespace in filenames, Louis-David Mitterrand, 2008/09/25
Make with zsh (was: whitespace in filenames), Ted Zlatanov, 2008/09/26