Project

General

Profile

1
#!/bin/bash -e
2
# reformats index.htm for display
3
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/runscripts/util.run
4
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/local.sh
5

    
6
if self_not_included; then
7

    
8
clean_up()
9
{
10
	echo_func
11
	command in_place "$top_file" repl \
12
	"$root_dir"/lib/Firefox_bookmarks.reformat.csv
13
	command in_place "$top_file" $sed_cmd \
14
'/^    <DT><a name="Quick links".*PERSONAL_TOOLBAR_FOLDER/,/^    <\/DL>/{
15
s/( name="| href="#)([^_])/\1__\2/g
16
}'
17
}
18

    
19
all()
20
{
21
	echo_func
22
	clean_up
23
}
24

    
25
fi
(3-3/3)