On Wed, Sep 20, 2006 at 03:35:46AM +0200, Martin Bähr wrote: > hi, i just stumpled onto the following problem when trying to call an > external program from vi: > the command that vim then actually produces is the following: > > fish: Command substitutions not allowedIllegal command name #(sort)# > Standard input: (sort) < /tmp/v744983/1 >/tmp/v744983/2
ok, the problem appears to be that vim looks at the SHELL variable. the following works: env SHELL=/bin/bash vi filename but this works as well: env SHELL="" vi filename this suggests that it might be helpful to hide the shell from certain apps. but which ones would that be? i still think that the best way would be to teach app developers that they must not expect that shells are posix compatible but should rather explicitly call a posix shell if they need one. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
