That's what I had in the back of my head when talking about "something to start with". Given the current code structure in im-config, I didn't find a simple way to reuse code, but a code reorganisation is well worth considering IMO.
Unfortunately, since this is dash code, the possibilities to make use of functions are limited. Bash would be better in that respect. -- Gunnar Hjalmarsson https://launchpad.net/~gunnarhj -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org