Re: Back Slash \ issue

Поиск
Список
Период
Сортировка
От Matthias Apitz
Тема Re: Back Slash \ issue
Дата
Msg-id 20190503090151.GA9546@sh4-5.1blu.de
обсуждение исходный текст
Ответ на RE: Back Slash \ issue  (Guntry Vinod <GV00619735@TechMahindra.com>)
Ответы RE: Back Slash \ issue  (Guntry Vinod <GV00619735@TechMahindra.com>)
Список pgsql-general
El día Friday, May 03, 2019 a las 08:45:02AM +0000, Guntry Vinod escribió:

> Hi Andrew,
> 
> So you mean to say we need to replace \\ in data. If so the data what we receive is huge chunk(we cannot open in
notepad++also) .
 
> 
> ...

Hi Guntry,

What about piping the data on a Linux or any other UNIX (or even Cygwin
on Windows) through a sed-Kommand to do the necessary changes, like

echo 'bla\foo' | sed 's/\\/\\\\/'
bla\\foo

    matthias
-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
70 years of NATO - 70 years of wars (Jugoslavia, Afghanistan, Syria, ...) and 70 years
of war preparation against Russia.  -- PEACE instead of NATO !



В списке pgsql-general по дате отправления:

Предыдущее
От: Guntry Vinod
Дата:
Сообщение: RE: Back Slash \ issue
Следующее
От: Guntry Vinod
Дата:
Сообщение: RE: Back Slash \ issue