Piotr Engelking dixit: >I think that all of this silliness could be avoided, while perfectly >reproducing current behavior, if jstar, joe, etc were wrappers, not >symlinks:
I think that’s a lot more silly. Besides, wrapping would slow down and bloat. > #!/bin/bash No bash in my code. > if [ "x$(basename -- $0)" = xeditor ]; then > progname=jstar Uhm, who says that? All of the flavours are perfectly usable as editors. > exec -a "$progname" /usr/lib/joe/joe.real There’s no exec -a (well maybe in GNU bash but I won’t use that) ;-) I actually like the idea of making editorrc a slave to editor… bye, //mirabilos -- Support mksh as /bin/sh and RoQA dash NOW! ‣ src:bash (254 (273) bugs: 1 RC, 175 (190) I&N, 78 (82) M&W, 0 F&P) ‣ src:dash (82 (90) bugs: 3 RC, 44 (47) I&N, 35 (40) M&W, 0 F&P) ‣ src:mksh (2 bugs: 0 RC, 0 I&N, 2 M&W, 0 F&P) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org