Commit d5bb3678 authored by Charles Ferguson's avatar Charles Ferguson
Browse files

Fix for output filter not preserving spaces.

The filter was using bare 'read' which was not working with the
leading spaces. Must use -r and clear IFS for this to work.
parent 551eb49f
...@@ -259,7 +259,7 @@ function output_filter() { ...@@ -259,7 +259,7 @@ function output_filter() {
indent=' ' indent=' '
fi fi
while read line ; do while IFS= read -r line ; do
if [[ "$nlines" == '0' ]] ; then if [[ "$nlines" == '0' ]] ; then
if [[ "$start" != '' && "$start" != '+' ]] ; then if [[ "$start" != '' && "$start" != '+' ]] ; then
echo " $start" echo " $start"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment