String in Bash
From Augix' Wiki
- special characters:
tab and new line:
augixs-ibook-g4:~ augix$ s=$'\t\n' augixs-ibook-g4:~ augix$ echo $s augixs-ibook-g4:~ augix$ s='\t\n' augixs-ibook-g4:~ augix$ echo $s \t\n
- concatenate two strings:
The braces are required for concatenation constructs.
$p_01
The value of the variable "p_01".
${p}_01
The value of the variable "p" with "_01" pasted onto the end.

