Text editor with graphical delimited column select for delete - suggestions? ; jor
john_re at fastmail.us
Sat Jun 19 02:24:13 UTC 2010
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".
More information about the ubuntu-users