Revision 8726
Added by Aaron Marcuse-Kubitza over 11 years ago
web/links/index.htm.run | ||
---|---|---|
1 |
#!/bin/bash -e |
|
2 |
# reformats index.htm for display |
|
3 |
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/local.run |
|
4 |
|
|
5 |
if self_not_included; then |
|
6 |
|
|
7 |
export linked_file="${BASH_SOURCE[0]%.run}" |
|
8 |
|
|
9 |
clean_up () |
|
10 |
{ |
|
11 |
echo_func "$@" |
|
12 |
echo_run in_place "$linked_file" repl \ |
|
13 |
"$root_dir"/lib/Firefox_bookmarks.reformat.csv |
|
14 |
} |
|
15 |
|
|
16 |
all () |
|
17 |
{ |
|
18 |
echo_func "$@" |
|
19 |
clean_up |
|
20 |
} |
|
21 |
|
|
22 |
fi |
|
0 | 23 |
Also available in: Unified diff
added web/links/index.htm.run with clean_up action to run whenever the index.htm bookmarks file is changed (`web/links/index.htm.run clean_up`)