Re: Facing problem with perl one-liner for single quote
- From: noreply@xxxxxxxxx (Gunnar Hjalmarsson)
- Date: Fri, 31 Aug 2007 17:36:07 +0200
John W. Krahn wrote:
Gunnar Hjalmarsson wrote:John W. Krahn wrote:If the OP were on windows then he won't have been able to use single quotes for the original.
If I understood it correctly, he wasn't...
Krishnan Hariharan wrote:
>
> I wrote this one liner,
>
> perl -pi -e 's/signal TPOS_IN \: std_logic;/signal
> TPOS_IN \: std_logic \:= \'0\';/' <file_name>
It looks like he was?
Well, he also let us know that he got an error that complained about single quotes, which made me suspect he might be on Windows. Anyway, now we know that I was wrong.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- References:
- Facing problem with perl one-liner for single quote
- From: Krishnan Hariharan
- Re: Facing problem with perl one-liner for single quote
- From: Gunnar Hjalmarsson
- Re: Facing problem with perl one-liner for single quote
- From: John W. Krahn
- Re: Facing problem with perl one-liner for single quote
- From: Gunnar Hjalmarsson
- Re: Facing problem with perl one-liner for single quote
- From: John W. Krahn
- Facing problem with perl one-liner for single quote
- Prev by Date: Re: File::Find
- Next by Date: Re: File::Find
- Previous by thread: Re: Facing problem with perl one-liner for single quote
- Next by thread: create a uft8 file
- Index(es):