1 |
On Thu, Oct 8, 2009 at 12:14 PM, Alan McKinnon <alan.mckinnon@×××××.com>wrote: |
2 |
|
3 |
> On Thursday 08 October 2009 20:33:01 Neil Bothwick wrote: |
4 |
> > On Thu, 08 Oct 2009 18:54:26 +0300, Nikos Chantziaras wrote: |
5 |
> > > And it's usually quicker to type with backticks instead of $(): |
6 |
> > |
7 |
> > But nowhere near as clear. |
8 |
> |
9 |
> And it's quicker to type "$(" - muscle memory - than to do the whole hunt- |
10 |
> peek-peck thing to find the ` key - I can't touch type it, have to *look* |
11 |
> for |
12 |
> it |
13 |
> |
14 |
> :-) |
15 |
> |
16 |
> > > Note: not single-quotes ('), but backticks (`). It's usually the key |
17 |
> > > above TAB and to the left of 1. |
18 |
> > |
19 |
> > I rest my case :) |
20 |
> > |
21 |
> > Note you can also nest commands when using $(), which you can't do with |
22 |
> > backticks. |
23 |
> |
24 |
> That's neat. But, |
25 |
> |
26 |
> please provide an example where an actual sane human would actually use it. |
27 |
> Coz I can't think of one... |
28 |
> |
29 |
> |
30 |
I've used it before - I can't remember what is was for, but I do remember |
31 |
using nested $() commands... |
32 |
|
33 |
Isn't ` being deprecated (by BASH at least) anyway? |
34 |
|
35 |
-James |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
> -- |
41 |
> alan dot mckinnon at gmail dot com |
42 |
> |
43 |
> |