Replacing commas with tabs in KWrite

Frank Bures lisfrank at chem.toronto.edu
Mon Feb 4 19:58:57 GMT 2008


Matthew Woehlke wrote:
> Frank Bures wrote:
>> 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 :-))
> 
> Use KDE4 :-). katepart in KDE4 should support the usual set of C-like 
> escapes; in this case, \t, \x0009 or \0011 should all work.
> 

It's funny, it works the other way round.  I can search for tabs by 
entering "\t" and activating regexp button.  Then I can replace it with any
printable character.  However I cannot replace anything with "\.".
I am talking KDE 3.5 and KWrite.

Well, back to the trusted vi I go :-)

Cheers
Frank

-- 

<feeb at chem.utoronto.ca>
___________________________________________________
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.




More information about the kde mailing list