From 22912381206ded2165a5de0a5ff7d9d073246155 Mon Sep 17 00:00:00 2001 From: Alexey Shpakovsky Date: Wed, 19 Mar 2014 23:05:11 +0100 Subject: [PATCH] preserve backslashes when posting/editing ask "read" not to process backslash sequences when reading user-edited file and leave them as is, instead --- bb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bb.sh b/bb.sh index 470b5e1..cda88f9 100755 --- a/bb.sh +++ b/bb.sh @@ -496,7 +496,7 @@ create_html_page() { parse_file() { # Read for the title and check that the filename is ok title="" - while IFS='' read line; do + while IFS='' read -r line; do if [[ "$title" == "" ]]; then # set title and # remove extra

and

added by markdown