From: Joseph L. Casale
> To: "centos@centos.org"
> Sent: Wed, March 16, 2011 8:56:41 PM
> Subject: [CentOS] perl one-liner issue
>
> I am trying to deduce the one liner for an rpm I am packaging to edit a php
> configuration file from within my spec. The line I am editing looks like:
> $conf[
>Go easy on yourself, and :
>a) don't try to match the quotation marks verbatim. Instead, match them with
>simply a .
Clever, thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
On Wed, Mar 16, 2011 at 07:56:41PM +, Joseph L. Casale wrote:
> I am trying to deduce the one liner for an rpm I am packaging to edit a php
> configuration file from within my spec. The line I am editing looks like:
>
> $conf['nagios_base'] = "/nagios/cgi-bin";
>
> What are the escape require
> -Original Message-
> From: Benjamin Franz
> Sent: Wednesday, March 16, 2011 17:30
> To: CentOS mailing list
> Subject: Re: [CentOS] perl one-liner issue
>
> On 03/16/2011 01:42 PM, Joseph L. Casale wrote:
> >>> $conf['nagios_base'] =
> >
>The problem is trying to pass valid Perl though the bash shell . There
>is an insane amount of interaction between all the escapings involved in
>this specific pattern. The hard problem is getting bash to *not* change
>what you are passing to Perl before Perl sees it.
As I have noticed:)
>Aft
On 03/16/2011 01:42 PM, Joseph L. Casale wrote:
>>> $conf['nagios_base'] =
>> I'd just search for that part, above.
> Me to, and I never even got to the replacement as the search for that
> was bailing:)
The problem is trying to pass valid Perl though the bash shell . There
is an insane amount of
>> $conf['nagios_base'] =
>
>I'd just search for that part, above.
Me to, and I never even got to the replacement as the search for that
was bailing:)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
On 03/16/11 12:56 PM, Joseph L. Casale wrote:
> $conf['nagios_base'] =
I'd just search for that part, above.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
8 matches
Mail list logo