Re: Do Shell script with unix sub command and CocoaDialog
Re: Do Shell script with unix sub command and CocoaDialog
- Subject: Re: Do Shell script with unix sub command and CocoaDialog
- From: "Mark J. Reed" <email@hidden>
- Date: Thu, 6 Mar 2008 20:48:27 -0500
On Thu, Mar 6, 2008 at 8:00 PM, Luther Fuller <email@hidden> wrote:
> sh and bash seem to be standard installs. Are there any non-standard
> shells?
OS X comes with bash, csh, ksh, sh, tcsh, and zsh. Almost everyone
uses one of those as their usual interactive shell. Even those who
use [t]csh interactively tend to write scripts for sh, though, just to
ensure portability.
bash and ksh - and to a lesser extent zsh - are mostly compatbile with
sh, and /bin/sh on OS X is actually bash under a different name.
Being invoked as "sh" causes it to behave in an even more sh-like
manner, although there are still plenty of bashisms.
Oddly, /bin/sh and /bin/bash are two separate files OMM. But they are
both GNU bash, version 3.2.17(1)-release.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden