Re: Error on import

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Error on import
Дата
Msg-id 200210250920.07162.dev@archonet.com
обсуждение исходный текст
Ответ на Re: Error on import  ("John" <johnp@totcon.com>)
Список pgsql-general
On Friday 25 Oct 2002 3:38 am, John wrote:
> Thanks Tom.. I had a buddy who works with perl give me a little help
> since I couldn't get vim to see the \r.. the following one liner got me
> where I needed to be. Thanks again.
>
> cat origfile|perl -e 'while (<>){$_ =~ s/\r//g;print $_;}' > prepfile

Or you could:

perl -p -e 's/\r//g' < origfile > prepfile

It's perl so TMTOWTDI

--
  Richard Huxton

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

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: need help with a table shrinker
Следующее
От: Leif Jensen
Дата:
Сообщение: Re: Linking 2 or more databases (new incident).