image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old March 16th, 2002, 12:47 AM
Koelling's Avatar
I Think Different
 
Join Date: Oct 2001
Location: Colorado
Posts: 602
Thanks: 0
Thanked 0 Times in 0 Posts
Koelling is on a distinguished road
Shell Service

This may be more of a UNIX related thread but I thought it fit more in the Hot Topics because it is so cool. It's really something to do with UNIX, but not actually seeing anything unix except a command or two. Shall I stop beating around the bush? It's called Shell Service 1.0.

This is a neat program which adds an option to the Services menu (you know, the one you never look at because it's just random stuff you'd never use under the application menu). The new option is "Execute Command" and it does just that to any selected text.

Example: I could be chatting in Adium and want to send my friend the date and time right now. I simply type date (which is a unix command) select it and hit command shift X and bang, there you go. It would replace 'date' with Fri Mar 15 22:43:47 MST 2002. <=That of course was me actually doing it.

Or one program I have called Wcalc works like a charm. I type Wcalc cos(30) and it returns = 0.866025

Now THAT is Unix functionality with Aqua goodness.

PS get it on the Apple.com site, under Mac OS X:downloads:Unix
__________________
1 ghz pb w/ 768M RAM, 10.3.latest (usually). Yeah life is good.
Reply With Quote
  #2  
Old March 16th, 2002, 05:39 PM
kilowatt's Avatar
mach-o mach-o man
 
Join Date: Mar 2001
Location: irc.lfnet.net #kilonet
Posts: 980
Thanks: 0
Thanked 0 Times in 0 Posts
kilowatt is on a distinguished road
sweet!
__________________
irc.lfnet.net #kilonet -+=join in=+-
Quote:
...the belief that the rights of man come not from the generosity of the state but the hand of God...
PEBKAC - Problem Exists Between Keyboard And Chair. --who said it first?
Audio Engineer - ProTools and Logic Pro Certified.
FCC Licensed RF Technician
Reply With Quote
  #3  
Old March 16th, 2002, 06:06 PM
simX's Avatar
Unofficial Mac Genius
 
Join Date: Sep 2001
Location: Bay Area, CA
Posts: 2,183
Thanks: 0
Thanked 0 Times in 0 Posts
simX is on a distinguished road
That is a pretty cool service, but it's weird that when a command returns an error or no output, it just deletes the selection.

For example, do the command "oogabooga!". In the terminal it gives you a "command not found" error. The service should do the same, or it should at least preserve what you wrote.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory usage of your open processes! http://homepage.mac.com/simx/

450 MHz G4 Cube | 15" flat-panel Apple Studio Display | 896 MB RAM | Que! Fire 12x10x32x FireWire CD-RW | OS X 10.1.5 Build 5S66 | Mac OS 9.2.2 | Telex M-560 Microphone | Epson Stylus Color 777 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod

"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.

"You know that first hit of heroin is free." -- Scott McNealy, Sun Microsystem's CEO, on Microsoft's .NET .

"The day Microsoft makes a product that doesn't suck is the day they start making vacuum cleaners." -- Unknown
Reply With Quote
  #4  
Old March 16th, 2002, 06:57 PM
vanguard's Avatar
Registered User
 
Join Date: Jul 2001
Location: Apex, NC
Posts: 531
Thanks: 0
Thanked 0 Times in 0 Posts
vanguard is on a distinguished road
Well, I didn't write it so I'm only guessing but...

I bet it takes the contents of stdout and drops it in your doc. The stuff you're talking about comes from stderr.

Anyway, I guess it would be nice if you didn't lose your text but maybe that explanation will help?

Vanguard

PS Does anybody know of a similar utility that allows me to execute a command without the terminal? I want to start a shell script without opening the terminal first.
__________________
500 mhz iceBook- 384mb ram, combo drive
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FAQ] - Setting the UNIX shell prompt michaelsanford HOWTO & FAQs 4 March 27th, 2003 02:25 PM
Talking to my PC doshea Mac OS X System & Mac Software 1 September 1st, 2002 10:56 AM
Reconnecting background job and interactive shell DominikHoffmann Unix & X11 1 June 27th, 2002 06:44 PM
AppleScript front end to a shell script? meancode Mac OS X System & Mac Software 0 March 17th, 2002 09:25 PM
Poll: What UNIX shell do you use? vikingshelmut Mac OS X System & Mac Software 17 December 21st, 2001 11:37 AM


All times are GMT -5. The time now is 06:45 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.