projects
/
fgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e14661
)
Temp: fix bug with get_frame_id for frame starting with digit(s)
author
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 5 Oct 2023 22:29:42 +0000
(18:29 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 7 Oct 2023 15:45:53 +0000
(11:45 -0400)
fgen.sh
patch
|
blob
|
history
diff --git
a/fgen.sh
b/fgen.sh
index
a0c3800
..
05cbb1d
100755
(executable)
--- a/
fgen.sh
+++ b/
fgen.sh
@@
-62,7
+62,7
@@
function get_label()
# Arg1: line
function get_frame_id()
{
- frame=$(echo "${1}" | grep -e "label:[0-9]" | ${SED} "s/label:\([0-9]\+\),.*/\1/g")
+ frame=$(echo "${1}" | grep -e "label:[0-9]
\+,
" | ${SED} "s/label:\([0-9]\+\),.*/\1/g")
if [ x"${frame}" = x"" ]; then
echo ""