Обсуждение: strings fixes

Поиск
Список
Период
Сортировка

strings fixes

От
Timon
Дата:
In some files I found strings like this:
Are you sure you wish to drop column \"%s?\"
but they should be like this
Are you sure you wish to drop column \"%s\"?

Patch in attachment fixes all such occurrences.
Or you can just run little script:
find -name *.cpp -exec sed -i 's/\\"%s?\\"/\\"%s\\"?/' {} \;

--
All bugs reserved

Вложения

Re: strings fixes

От
Dave Page
Дата:
Thanks, patch applied.

On Thu, Apr 7, 2011 at 11:03 AM, Timon <timosha@gmail.com> wrote:
> In some files I found strings like this:
> Are you sure you wish to drop column \"%s?\"
> but they should be like this
> Are you sure you wish to drop column \"%s\"?
>
> Patch in attachment fixes all such occurrences.
> Or you can just run little script:
> find -name *.cpp -exec sed -i 's/\\"%s?\\"/\\"%s\\"?/' {} \;
>
> --
> All bugs reserved
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
>



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: strings fixes

От
Timon
Дата:
Just one more little fix in attachment :)
keyrs -> keys

2011/4/7 Dave Page <dpage@pgadmin.org>:
> Thanks, patch applied.
>
> On Thu, Apr 7, 2011 at 11:03 AM, Timon <timosha@gmail.com> wrote:
>> In some files I found strings like this:
>> Are you sure you wish to drop column \"%s?\"
>> but they should be like this
>> Are you sure you wish to drop column \"%s\"?
>>
>> Patch in attachment fixes all such occurrences.
>> Or you can just run little script:
>> find -name *.cpp -exec sed -i 's/\\"%s?\\"/\\"%s\\"?/' {} \;
>>
>> --
>> All bugs reserved
>>
>>
>> --
>> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgadmin-hackers
>>
>>
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>



--
All bugs reserved

Вложения

Re: strings fixes

От
Guillaume Lelarge
Дата:
Le 12/04/2011 10:06, Timon a écrit :
> Just one more little fix in attachment :)
> keyrs -> keys
>

Commited, thanks.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com