use string concatenation
so there's no need to escape double quotes
This commit is contained in:
6
sxbm
6
sxbm
@ -128,9 +128,9 @@ bm_list() {
|
||||
__tag_search() {
|
||||
awk -v COL_LINE_NUM="$COL_LINE_NUM" \
|
||||
-v COL_LINK="$COL_LINK" -v COL_TITLE="$COL_TITLE" \
|
||||
"$QUERY_TAG { LINK=\$1; \$1=\"\";
|
||||
gsub(/[[:space:]]\+[^[:space:]]+/,\"\");
|
||||
print COL_LINE_NUM NR \") \" COL_LINK LINK \" \" COL_TITLE \$0 }" \
|
||||
"$QUERY_TAG"'{ LINK=$1; $1="";
|
||||
gsub(/[[:space:]]\+[^[:space:]]+/,"");
|
||||
print COL_LINE_NUM NR ") " COL_LINK LINK " " COL_TITLE $0 }' \
|
||||
"$DATA_FILE"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user