|
#1
| ||||
| ||||
| 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. |
|
#2
| ||||
| ||||
| sweet!
__________________ irc.lfnet.net #kilonet -+=join in=+- Quote:
Audio Engineer - ProTools and Logic Pro Certified. FCC Licensed RF Technician |
|
#3
| ||||
| ||||
| 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 |
|
#4
| ||||
| ||||
| 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 |
![]() |
| Thread Tools | |
|
|
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 |