[sf-perl] hostid in mac os x?

Kevin Frost biztos at mac.com
Sun Jan 6 13:37:10 PST 2008

BASH is standard.  An awful lot of normal, familiar UNIX is running  
under all that sexy Jobso eye candy.

     frost at mb ~ $ echo $SHELL
     frost at mb ~ $ ls -alF /bin/*sh
     -rwxr-xr-x  1 root  wheel  1244912 Sep 23 18:41 /bin/bash*
     -rwxr-xr-x  2 root  wheel   610864 Sep 23 19:10 /bin/csh*
     -r-xr-xr-x  1 root  wheel  2103664 Sep 23 22:46 /bin/ksh*
     -r-xr-xr-x  1 root  wheel  1244944 Sep 23 18:45 /bin/sh*
     -rwxr-xr-x  2 root  wheel   610864 Sep 23 19:10 /bin/tcsh*
     -rwxr-xr-x  2 root  wheel   982000 Sep 23 18:40 /bin/zsh*
     frost at mb ~ $

A lot of other stuff is available through MacPorts, though they have  
some sporadic packaging problems so some of the more complicated  
things (like PerlMagick) often won't compile with the normal `sudo  
port install foo` business.  But I've found most everything can be  
hacked into working with a little effort.


I do a lot of development on OS X that targets various flavors of  
Linux.  I've lately found a sort of nerdvana in running a Linux server  
inside VMWare Fusion with a shared directory, so I use my Mac  
toolchain to code and jump over to the VM to run my tests and so on.   
It's so transparent I sometimes forget I've got the VM running.  (VMs  
are only a real option on the newer, Intel Macs.)

Some useful links for UNIX fans thinking of switching:


	http://www.macromates.com/ - awesome programmer's editor


	http://www.parallels.com/ - the other VM for Intel Macs

	http://iterm.sourceforge.net/ - popular alternative to the system  

Also, as of Leopard (the new OS release, 10.5) system perl is 5.8.8:

     frost at mb ~ $ perl -v

     This is perl, v5.8.8 built for darwin-thread-multi-2level
     (with 1 registered patch, see perl -V for more detail)



-- frosty

On Jan 6, 2008, at 12:14 PM, Neil Heller wrote:

> What shell is standard (if there is such a thing) in OS X?
> Is it easy to run the KORN shell or CShell?
> Do those come with the OS or do you have to go to a third party to  
> get them?
> Neil Heller
> 510-862-4387
> -----Original Message-----
> From: sanfrancisco-pm-bounces+nheller=silcon.com at pm.org
> [mailto:sanfrancisco-pm-bounces+nheller=silcon.com at pm.org] On Behalf  
> Of
> David Alban
> Sent: Sunday, January 06, 2008 7:54 AM
> To: San Francisco Perl Mongers User Group
> Subject: Re: [sf-perl] hostid in mac os x?
> Yes.  In OS X.
> On Jan 5, 2008 8:41 PM, Neil Heller <nheller at silcon.com> wrote:
>> Are you running a bash shell on a MAC?
> -- 
> Live in a world of your own, but always welcome visitors.
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm

More information about the SanFrancisco-pm mailing list