diff --git a/src/mark-new-feed-entries b/src/mark-new-feed-entries index f7bc881..9c385d3 100644 --- a/src/mark-new-feed-entries +++ b/src/mark-new-feed-entries @@ -29,7 +29,7 @@ do if [ "$time" -gt "$curr" ] then news=$(($news + 1)) - lines+=("$(echo $line | sed -e 's/^\( *\)- *\(.*\)$/\1- \*\2\*/')") + lines+=("$(echo $line | sed -e 's/^\( *\)- *\(.*\)$/\1- \*\*\2\*\*/')") else lines+=("$line") fi @@ -37,7 +37,7 @@ done < $file if [ "$news" -gt "0" ] then - lines[0]=`echo "$lines[0]" | sed -e "s/^#\(#*\) *\(.*\)$/#\1 \*\2 ($news)\*/"` + lines[0]=`echo "$lines" | sed -e "s/^#\(#*\) *\(.*\)$/#\1 \*\*\2 ($news)\*\*/"` fi for line in "${lines[@]}"