Revision 8695
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/table.run | ||
---|---|---|
15 | 15 |
|
16 | 16 |
. "$(dirname "${BASH_SOURCE[0]}")"/import.run |
17 | 17 |
|
18 |
quote='"' |
|
19 |
|
|
20 |
esc_name () { echo "$quote${1//$quote/$quote$quote}$quote"; } |
|
21 |
|
|
22 |
mk_esc_name () { set_var "$1"_esc "$(esc_name "${!1}")"; } |
|
23 |
|
|
18 | 24 |
root_dir="$(dirname "${BASH_SOURCE[0]}")"/.. |
19 | 25 |
bin_dir="$root_dir"/bin |
20 | 26 |
|
Also available in: Unified diff
lib/table.run: added esc_name (), mk_esc_name ()