1 |
On 07/21/10 16:56, Sebastian Pipping wrote: |
2 |
> A few things I haven't seen, yet: |
3 |
> |
4 |
> # Adjacent changes in quotation |
5 |
> echo "abc"'"'"def" # Makes abc"def |
6 |
> |
7 |
> # Escape sequences like .. |
8 |
> echo "abc\"def" |
9 |
> |
10 |
> # Invocation from ibnside strings |
11 |
> echo "foo $(echo foo), bar `echo bar`" |
12 |
> |
13 |
> # Heredocs (and their variations ..) |
14 |
> cat <<EOF >/dev/stdout |
15 |
> 1 |
16 |
> 2 |
17 |
> EOF |
18 |
> |
19 |
> # Construct of $((..)) |
20 |
> # Refs to variable withzout "$" upfront |
21 |
> z=3; echo $((z+3)) |
22 |
|
23 |
An important one I forgot: |
24 |
|
25 |
# Line continuation |
26 |
echo one \ |
27 |
two |
28 |
|
29 |
Potentially hase quite a few sub cases .. |
30 |
|
31 |
Best, |
32 |
|
33 |
|
34 |
|
35 |
Sebastian |