1
|
#!/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
|
load_data() { echo_func; } # for views, this instead happens in postprocess()
|
15
|
|
16
|
# always remake, in case view has changed
|
17
|
func_override mappings__table_run
|
18
|
mappings()
|
19
|
{
|
20
|
echo_func
|
21
|
in_top_dir rm -f header.csv # remake it since columns may change
|
22
|
remake=1 mappings__table_run
|
23
|
}
|
24
|
|
25
|
fi
|