Version: 2.3.2 (using KDE 3.3.2, (3.1)) Compiler: gcc version 3.3.5 (Debian 1:3.3.5-8) OS: Linux (ppc) release 2.6.8-powerpc since gdb and gcc both print lines as: /some/file/path/file.name:lineno it would rock if Kate could understand that and not only open up file.name, but jump to lineno after the file is opened. this would make it very easy to use from gdb or gcc messages.
On Monday 28 February 2005 14:55, geiseri@kde.org wrote: > since gdb and gcc both print lines as: > /some/file/path/file.name:lineno > it would rock if Kate could understand that and not only open up file.name, > but jump to lineno after the file is opened. How bad is it to have to convert that into --line lineno /some/file/path/file.name sed s,([^:]*):(\d+),--line \2 \1, will do that, for example. -anders
We use --line, we don't split strings