Project

General

Profile

« Previous | Next » 

Revision 8695

lib/table.run: added esc_name (), mk_esc_name ()

View differences:

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