bug-fork

fork/re-write of bug cli todo manager
git clone https://git.regexghost.com/bug-fork.git
Log | Files | Refs | README | LICENSE

commit 8888504d35ee400fd104dbec6faef70e401fc0dd
parent 6634f41dc2cdaa2da165ced1823729ce961b01fe
Author: regexghost <dev@regexghost.com>
Date:   Sat, 22 Aug 2026 20:37:17 +0100

fixed bug where 2 entries with same ID would cause issues editing and deleting (possibly making todo-bug list empty)

Diffstat:
Mbug.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bug.sh b/bug.sh @@ -87,7 +87,7 @@ add () { } lineToFile () { - line="$(awk "/^${1}\t/" "$BUG_PROJECT")" + line="$(awk "/^${1}\t/" "$BUG_PROJECT" | head -n 1)" id="$(printf '%s' "$line" | cut -f 1)" prior="$(printf '%s' "$line" | cut -f 2)" state="$(printf '%s' "$line" | cut -f 3)"