OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3426da0
)
seq -f %0-f is a valid pattern.
author
Rob Landley
<rob@landley.net>
Thu, 3 Sep 2015 01:09:42 +0000
(20:09 -0500)
committer
Rob Landley
<rob@landley.net>
Thu, 3 Sep 2015 01:09:42 +0000
(20:09 -0500)
toys/lsb/seq.c
patch
|
blob
|
history
diff --git
a/toys/lsb/seq.c
b/toys/lsb/seq.c
index
62f4255
..
322940b
100644
(file)
--- a/
toys/lsb/seq.c
+++ b/
toys/lsb/seq.c
@@
-39,7
+39,7
@@
static void insanitize(char *f)
if (*s != '%') continue;
if (*++s == '%') continue;
if (found++) break;
- while (0 <= stridx("'#-+ ", *s)) s++;
+ while (0 <= stridx("
0
'#-+ ", *s)) s++;
while (isdigit(*s)) s++;
if (*s == '.') s++;
while (isdigit(*s)) s++;