From: Matthias Ludwig Date: 2006-08-11T23:42:18+09:00 Subject: Re: access built-in shell commands like 'history' or 'fc' --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > I think under certain circumstances either ruby doesn't call the shell > (and just calls the executable) or the shell doesn't recognize builtin > commands when called as sh -c that's it. The most shells provide build-in commands only in the interactive mode. Some shells coIMost shells print something like "can't find...", some shells also print a littl help. example (on zsh): $ echo history | zsh history: not interactive shell regards, Matthias --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (OpenBSD) iD8DBQFE3KgIbaBeCFlfXPMRAvAvAJ4rEBfdAcx+y7/nR0iAIYzdL7zL6QCfejM6 Y0B1kciQ7usTNqNQZSlvMG0= =a2r4 -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--