Talk About Network

Google





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

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

by Beta Zero <beta_zero@[EMAIL PROTECTED] > May 9, 2008 at 12:55 PM

>Beta Zero <beta_zero@[EMAIL PROTECTED]
> writes:
>> Is it possible to add commands to Darwin?

Sherman Pendley wrote:
>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.

Aha!  That explains a lot!

>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--

Thanks, that was very helpful!  It explains a lot.
 




 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
localhost-V2008-12-19 Wed Jan 7 23:22:14 PST 2009.