Feed entries are now marked in bold instead of cursive.
Also removed the [0] after updated feed titles.
This commit is contained in:
parent
d8cf74a65e
commit
a0f299be21
1 changed files with 2 additions and 2 deletions
|
@ -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[@]}"
|
||||
|
|
Loading…
Reference in a new issue