OT: Scripting humour
Peter Garrett
peter.garrett at optusnet.com.au
Tue Jan 8 09:06:39 UTC 2008
On Mon, 07 Jan 2008 13:47:55 -0500
anthony baldwin <anthony.baldwin01 at comcast.net> wrote:
> Steve Flynn wrote:
> > On Jan 6, 2008 7:12 PM, anthony baldwin <anthony.baldwin01 at comcast.net> wrote:
> >
> >> Does OSX use sh? The BSD's do, right?
> >>
> >
> > Yes - OSX has a command line. Mine uses Bash but there are other to
> > select from if preferred.
> >
> >
> So a bash script written for Linux will work on OSX?
> Or are there differences in the commands, and stuff?
If it was just bash, and it called only installed software, I assume it
would work.
> (Does OSX have zenity, or can if be installed?)
Zenity is a GNOME thing - at least, it is installed as part of GNOME on
Ubuntu. There may be a version available for OS-X installable via "fink",
for example, but I haven't used OS-X on my iBook for a couple of years now.
I installed Ubuntu on it and blew OS-X away. I haven't missed it :)
I assume that if zenity is available it would only run on X11, so you
would need Apple's X11 installed as well (or the darwinports / Fink
version) Also have a look at
apt-cache depends zenity
apt-cache rdepends zenity
Ah, update:
http://zenity.darwinports.com/
http://darwinports.com/?q=zenity
>
> I suppose that's all rather OT, but I'm curious...
I just put "Mac OS-X zenity " into Uncle Google to find those links ;)
Peter
--
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080108/fb5b7b7c/attachment.sig>
More information about the ubuntu-users
mailing list