Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Simple Alias to do the same thing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Simple Alias to do the same thing
Authored by: cmar on Jan 09, '02 09:28:25AM
put this in your .tcshrc or aliases.mine file


alias say '/usr/bin/osascript -e '''say "!*"''' '


then just type say hello world




[ Reply to This | # ]
NOT the same thing
Authored by: Anonymous on Jan 09, '02 12:26:42PM

Actually it's not the same thing. The original script posted here reads from STDIN.

!* reads the given arguments. Completely different thing, but cool nonetheless.



[ Reply to This | # ]