1 |
10080
|
aaronmk
|
#!/bin/bash -e
|
2 |
|
|
|
3 |
|
|
if false; then #### run script template:
|
4 |
|
|
#!/bin/bash -e
|
5 |
|
|
. "$(dirname "${BASH_SOURCE[0]}")"/path/to/view.run
|
6 |
|
|
fi ####
|
7 |
|
|
|
8 |
|
|
. "$(dirname "${BASH_SOURCE[0]}")"/table.run
|
9 |
|
|
|
10 |
|
|
if self_not_included; then
|
11 |
|
|
|
12 |
|
|
export new_term_prefix= # don't re-prepend *
|
13 |
|
|
|
14 |
11603
|
aaronmk
|
load_data() { echo_func; } # for views, this instead happens in postprocess()
|
15 |
|
|
|
16 |
10080
|
aaronmk
|
# always remake, in case view has changed
|
17 |
|
|
func_override remake_VegBIEN_mappings__table_run
|
18 |
|
|
remake_VegBIEN_mappings()
|
19 |
10929
|
aaronmk
|
{
|
20 |
|
|
echo_func
|
21 |
11000
|
aaronmk
|
in_top_dir rm -f header.csv # remake it since columns may change
|
22 |
10929
|
aaronmk
|
remake=1 remake_VegBIEN_mappings__table_run
|
23 |
|
|
}
|
24 |
10080
|
aaronmk
|
|
25 |
|
|
fi
|