
26 Oct
2007
26 Oct
'07
6:56 p.m.
On Sat, Oct 27, 2007 at 12:18:23AM +0200, Andrea Rossato wrote:
On Fri, Oct 26, 2007 at 11:01:31PM +0100, Benjamin M. A'Lee wrote:
Would it possibly be better to call /bin/sh instead, since that can fairly reliably be found on Unix systems, whereas bash is only common on GNU/Linux? Alternatively, look for a few (bash, zsh, ksh, sh, possibly others) and run one. Or use the user's $SHELL setting.
Now we relay on bash's compgen to get completions. So we are not just looking for a shell.
I think this is a less burdensome requirement than the readline library, after all.
Why would it be? Bash absolutely requires readline (and includes a copy, but that's not relevent since you still need a readline-capable system). Stefan