diff --git a/Changelog b/Changelog index a3a9fef..5dc496d 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,8 @@ +2.2.1: + + * Fix: Missing quotes in filter interpreter. + + 2.2: * New: Allow for the value of other entries to be in the 'sed' command of a diff --git a/bin/BBlog b/bin/BBlog index d646cd9..14fca99 100755 --- a/bin/BBlog +++ b/bin/BBlog @@ -18,7 +18,7 @@ enginedir=/usr/share/BBlog/engines # version -version=2.2 +version=2.2.1 function print_config { echo "engine: $engine" @@ -223,7 +223,7 @@ function replace_format { # apply filter if [ -n "$filter" ]; then # replace '%' inside filter text - sed_cmd=$(replace_format $(eval "echo \$filter_$filter")) + sed_cmd=$(replace_format "$(eval echo \$filter_$filter)") replacement=$(eval "echo \$$field" | sed -r "$sed_cmd" ) else replacement=$(eval "echo \$$field")