Re: Replacing commas with tabs in KWrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried both kate and kwrite and as expected they didn't support
replace a pattern with a regexp
, but it seems that khexedit will do search for 054 replace with 011.



On Feb 4, 2008 1:03 PM, Frank Bures <lisfrank@xxxxxxxxxxxxxxxx> wrote:
> Eyolf Østrem wrote:
> > On 04.02.2008 (11:39), Frank Bures wrote:
> >> Hi,
> >>
> >> I need to edit a comma delimited database file so that it becomes tab
> >> delimited.  In OS/2 I just globally searched for ',' and then replaced it
> >> with ASCII [09] character by entering <Alt-0-9>.
> >> I cannot do that in KWrite as KWrite does not interpret <Alt> at all
> >> and just enters "09" in the 'Replace with' field.
> >> When I try to enter <Tab>, it just takes me to another field.
> >>
> >> How do you replace anything with unprintable characters in KWrite?
> >> (short of using vi of course :-))
> >
> >
> > Get over it and use vim :)
> > open the file, type :%s/,/\t/g to replace all commas with tabs
>
> Thanks for both replies, but they do not answer my question.
> I am well aware of hundreds of possible ways how to edit a text file
> using shells, sed, awk, C, C++, Java or any other possible tool.
>
> My question was "is there a way how to do it in KWrite?"
> Or in any other KDE based GUI editor?
>
> I hope this explanation clears the confusion.
>
> Cheers
> Frank
>
> --
>
> <feeb@xxxxxxxxxxxxxxxx>
> ___________________________________________________
>
> This message is from the kde mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.



-- 
In vino veritas.
        [In wine there is truth.]
                -- Pliny
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux