File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ slug() {
158158
159159# version
160160RELEASE=' $Format:%h$'
161- VERSION=' 0.6.5 '
161+ VERSION=' 0.6.6 '
162162
163163#
164164# Output usage info
@@ -556,8 +556,8 @@ delete_bookmark() {
556556 echo " ${_nl} " >> " ${_BM_DELETE_FILE} "
557557 fi
558558 [[ ${_BM_DELETE_PICTURE} = true || ${__p:= 0} -eq 1 ]] && rm -f -- " ${_BM_SCREENSHOT_DIRECTORY} /${_nl%% |* } .png"
559- _nl= " ${_nl// \| / \\ | } "
560- sed -i -e ' /' " ${_nl // \/ / \\ / } " ' /d' " ${_BM_BOOKMARK_FILE} "
559+ IFS= ' | ' read m d a u T t <<< " ${_nl}"
560+ sed -i -e ' /^ ' " ${m} .* ${u // \/ / \\ / }.* ${t // \/ / \\ / } " ' $ /d' " ${_BM_BOOKMARK_FILE} "
561561 done <<< " $(echo -e " ${_lines} " )"
562562 else
563563 die " You're not allowed to delete entries. Change the _BM_DELETE_ALLOWED to true !"
You can’t perform that action at this time.
0 commit comments