projects
/
fgen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f1fd0
)
Allow other character after number in label (new frame ID)
author
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 7 Oct 2023 03:20:38 +0000
(23:20 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Sat, 7 Oct 2023 15:51:24 +0000
(11:51 -0400)
fgen.sh
patch
|
blob
|
history
diff --git
a/fgen.sh
b/fgen.sh
index
6e66b49
..
f50e000
100755
(executable)
--- a/
fgen.sh
+++ b/
fgen.sh
@@
-58,7
+58,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]\+\).*,geometry
.*/\1/g")
echo "${frame}"
}