Am 10.03.2017 um 09:47 schrieb Ghislain Vaillant:
On 10/03/17 08:27, Thomas Güttler wrote:
Hi,
I am following this instruction:
http://python-modules.alioth.debian.org/policy.html
Yes, I accept the above policy.
Yes, collaborative maintenance is preferred.
Here is what I want to package: https://github.com/guettli/reprec
Up to now reprec contains these tools:
* reprec: Replace strings in text files. Can work recursive in a
directory tree
* setops: Set operations (union, intersection, ...) for line based
files.
Please consider motivating the packaging of this software, i.e. how it is
potentially useful to Debian users, what is
the novelty versus other file processing tools, etc...
reprec: I like PCRE regular expressions. I read and write them fluently. Up to
now I
don't know of a tool which does replace recursive (incl optional interactive)
search and replace (and written in Python).
setops: I know the command line tool "comm". See
http://www.catonmat.net/blog/set-operations-in-unix-shell/
For example I can read and type the following command line .... But is is no
fun:
comm -23 <(sort subset | uniq) <(sort set | uniq) | head -1
That's why I wrote setops: You don't need to sort and uniq. And expressions
grouping with parenthesis ... I like it.
Regards,
Thomas Güttler
BTW, if I reply only to the personal address and not to the list, then please forgive me. Sometimes I forget to add
"debian-python@lists.debian.org" to the recipient list.
--
Thomas Guettler http://www.thomas-guettler.de/