Replacing commas with tabs in KWrite

Justin Denick justin.denick at gmail.com
Mon Feb 4 17:19:02 GMT 2008


try sed
sed s/,/\\\t/g foo.bar > foo.tmp && mv foo.tmp foo.bar

On Feb 4, 2008 11:39 AM, Frank Bures <lisfrank at chem.toronto.edu> 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 :-))
>
> Thanks
> 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.
>



-- 
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.




More information about the kde mailing list