Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Re: adding comm...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 626 of 635
Post > Topic >>

Re: adding commands to Unix (um, modifying Darwin?)

by Sherman Pendley <spamtrap@[EMAIL PROTECTED] > May 9, 2008 at 12:34 AM

Beta Zero <beta_zero@[EMAIL PROTECTED]
> writes:

> Back in December, when I bought my Mac 'mini,' I discovered a handy
> little icon on the right side of the bottom tool bar - I think that Mac
> users call that kind of a toolbar a 'Dock' - and it lets you try out
> Unix, and learn as you go.  I don't have any real experience with Unix,
> and this is the first Mac I've ever had.  Quite pleased with the
> purchase, all in all.  But I'm still learning how to use a Mac.
>
> So . . . a few months went by, and a week ago I bought a book about 
> Unix for the 'Tiger' species of the Mac.  It's a pretty big book, and 
> I'll admit I haven't exactly read it all the way through yet.  I'm 
> pretty new to Unix.
>
> Is it possible to add commands to Darwin?

If you're talking about running Terminal.app and entering commands into
a command prompt, then yes! The key thing to realize is that, when you
enter a command like "ls", the command shell usually doesn't call an
internal function called ls(). Instead, it looks on your drive, in a
series of locations that you can define, for an executable file named
"ls", and if one is found it runs it.

You can write these "commands" - more commonly called tools - in pretty
much any language you can think of. C, Objective-C, C++, shell scripting,
Perl, Ruby, Python, Java, etc. - and that's just what's included with the
OS. There's far more out there for the downloading. One reason why geeky
types often prefer a Unix variant is the huge array of programming tools
and languages that are available for it.

sherm--

-- 
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net
 




 7 Posts in Topic:
adding commands to Unix (um, modifying Darwin?)
Beta Zero <beta_zero@[  2008-05-08 13:25:24 
Re: adding commands to Unix (um, modifying Darwin?)
Tom Harrington <tph@[E  2008-05-08 15:41:33 
Re: adding commands to Unix (um, modifying Darwin?)
David Phillip Oster <o  2008-05-08 20:18:36 
Re: adding commands to Unix (um, modifying Darwin?)
Sherman Pendley <spamt  2008-05-09 00:34:01 
manipulating .RAW data, or .WAV files
Beta Zero <beta_zero@[  2008-05-08 21:42:29 
Re: manipulating .RAW data, or .WAV files
David Phillip Oster <o  2008-05-09 07:36:59 
Re: adding commands to Unix (um, modifying Darwin?)
Beta Zero <beta_zero@[  2008-05-09 12:55:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 18:08:45 CDT 2008.