• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Do Shell script with unix sub command and CocoaDialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Do Shell script with unix sub command and CocoaDialog (From: Tim Piper <email@hidden>)
 >Re: Do Shell script with unix sub command and CocoaDialog (From: Christopher Nebel <email@hidden>)
 >Re: Do Shell script with unix sub command and CocoaDialog (From: Luther Fuller <email@hidden>)
 >Re: Do Shell script with unix sub command and CocoaDialog (From: "Mark J. Reed" <email@hidden>)
 >Re: Do Shell script with unix sub command and CocoaDialog (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Do Shell script with unix sub command and CocoaDialog
  • Next by Date: best options for HTML file to text conversion?
  • Previous by thread: Re: Do Shell script with unix sub command and CocoaDialog
  • Next by thread: Re: Do Shell script with unix sub command and CocoaDialog
  • Index(es):
    • Date
    • Thread