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


Click here to return to the '10.5: An alias to ease screen captures of remote Macs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: An alias to ease screen captures of remote Macs
Authored by: fds on Dec 20, '07 08:13:38AM

In bash, aliases don't take parameters -- they are not like functions.
More like simple text expansion, it simply prepends the alias' expanded content in front of the rest of your command line.

So that $1 $2 $3 at the end of your alias doesn't actually have any effect.
Better yet, it never was limited to taking at most 3 additional parameters, you could in fact specify any number of them. :)



[ Reply to This | # ]