diff options
| author | Philipp Schafft <lion@lion.leolix.org> | 2015-10-04 10:06:27 +0000 |
|---|---|---|
| committer | Philipp Schafft <lion@lion.leolix.org> | 2017-03-27 02:11:19 +0000 |
| commit | 0d64f2a888a4d03b2c90ea265fc266dd8bc8ba4b (patch) | |
| tree | 186e96486774d99f837e2da5209901db2a8676d4 | |
| parent | 96dc4a18a794c29ceecfee0283776bdd6811fe7b (diff) | |
cleanup
| -rwxr-xr-x | webgen | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -191,8 +191,7 @@ proc_page() { cat_file -$END } | \ sed "$SECTIONS_REGEX" | \ - sed 's#href="[+~]\([^"\#]*\)\(\#*[^"]*\)"#href="\1'"$PAGE_SUFFIX"'\2"#g' > $OF -# perl -pe's#href="\+(.+?)((?:#.+?)?)"#href="$1'"$PAGE_SUFFIX"'$2"#g' > $OF + sed 's#href="[+~]\([^"\#]*\)\(\#*[^"]*\)"#href="\1'"$PAGE_SUFFIX"'\2"#g' > "$OF" } proc_raw() { |
