1 |
8726
|
aaronmk
|
#!/bin/bash -e
|
2 |
|
|
# reformats index.htm for display
|
3 |
8893
|
aaronmk
|
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/util.run
|
4 |
9013
|
aaronmk
|
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/local.sh
|
5 |
8726
|
aaronmk
|
|
6 |
|
|
if self_not_included; then
|
7 |
|
|
|
8 |
|
|
export linked_file="${BASH_SOURCE[0]%.run}"
|
9 |
|
|
|
10 |
9074
|
aaronmk
|
clean_up()
|
11 |
8726
|
aaronmk
|
{
|
12 |
8881
|
aaronmk
|
echo_func
|
13 |
8726
|
aaronmk
|
echo_run in_place "$linked_file" repl \
|
14 |
|
|
"$root_dir"/lib/Firefox_bookmarks.reformat.csv
|
15 |
|
|
}
|
16 |
|
|
|
17 |
9074
|
aaronmk
|
all()
|
18 |
8726
|
aaronmk
|
{
|
19 |
8881
|
aaronmk
|
echo_func
|
20 |
8726
|
aaronmk
|
clean_up
|
21 |
|
|
}
|
22 |
|
|
|
23 |
|
|
fi
|