Re: [PATCH v4] Thunderbird: fix appp.sh format problems
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Sep 1, 2012, 13:59 UTC
- Message-ID
- <504214AA.9080706@kdbg.org>
- In-Reply-To
- <5041BC94.7000304@gmail.com>
Am 01.09.2012 09:43, schrieb Marco Stornelli:
Show 12 quoted lines
> Il 31/08/2012 23:35, Johannes Sixt ha scritto:
>> Am 31.08.2012 16:09, schrieb Marco Stornelli:
>>> +CCS=`perl -e 'local $/=undef; open FILE, $ENV{'PATCHTMP'};
>>> $text=<FILE>;
>>> +close FILE; $addr = $1 if $text =~ /Cc: (.*?(,\n .*?)*)\n/s; $addr
>>> =~ s/\n//g;
>>> +print $addr;'`
>>
>> The quoting is broken in this line (sq within sq does not work).
>
> I don't understand what you mean, I'm using this script and it works
> perfectly.Look how you write:
perl -e '... $ENV{'PATCHTMP'} ...'That is, perl actually sees this script:
... $ENV{PATCHTMP} ...(no quotes around PATCHTMP). That my be perfectly valid perl, but is not what you intended.
-- Hannes