diff options
-rw-r--r-- | lib/control.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/control.sh b/lib/control.sh index 2e87248..196d952 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -159,8 +159,8 @@ ob_set_substvar() H; # Store each input line in the hold space. ${ # At the last line of input, … g; # … restore the hold space into the pattern space, … - s/^[ \t\n]*//; # … remove leading whitespace, … - s/[ \t\n]*$//; # … remove trailing whitespace, and … + s/^[\n]*//; # … remove leading newline characters, … + s/[\n]*$//; # … remove trailing newline characters, and … p; # … print the results. }; ')" |