Text editor with graphical delimited column select for delete - suggestions? ; jor
archayl
archayl at gmail.com
Sat Jun 19 09:36:42 UTC 2010
On Fri, 2010-06-18 at 19:24 -0700, giovanni_re wrote:
> Is there a text editor, which allows some easy way to process many lines in a text file, to delete off parts of the lines, according to some specification? It should have menu items for the selection of what to delete. The purpose for this is so that one doesn't need to learn a command syntax, but merely select from a menu.
>
> One kind of command would be 'delete from the first character up to the last "/" in a line'.
> also: Delete from the end of the line back to the first "_" character.
>
> Ex: Applicable to a file with lines like these:
> wget -c http://archive.canonical.com/ubuntu/pool/partner/s/sun-java6/sun-java6-bin_6.20dlj-1ubuntu3_amd64.deb
> wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/a/antlr/libantlr-java_2.7.7-15ubuntu1_all.deb
>
>
> Perhaps a graphical using mouse pointer column select, where the column was not by character position, but by # of non alpha characters (like, -/._ etc). - with a "start this # of delimiters in" setting, so, ex, one could prune down to just the package names, like "sun-java6-bin".
>
> Thanks :)
>
Sound like text editor with regex search to me. I think that regex is
too broad to be represented into menus.
If that's the case, there's a plugin for gedit [1] that do it. Just my 2
cent.
[1] http://live.gnome.org/Gedit/Plugins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100619/da923d01/attachment.sig>
More information about the ubuntu-users
mailing list