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


Click here to return to the 'Execute small bits from the clipboard in Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Execute small bits from the clipboard in Terminal
Authored by: nine_mirrors on Mar 26, '10 03:03:00AM

Using back ticks for command substitution has been superseded by the '$(...)' form.
It's also convenient for people with non-us keyboards (like me) since the back tick key is impractical.
Replacing back tick with $() gets you

[erik@supernova dev]$ eval $(pbpaste)
drwxr-xr-x 2 erik staff 68 11 Jan 12:45 glassfishv3/
drwxr-xr-x 4 erik staff 136 5 Feb 15:13 java7/
drwxr-xr-x 8 erik staff 272 18 Feb 11:50 terracotta/
[erik@supernova dev]$




[ Reply to This | # ]