diff options
| author | Gaurav Jain <gaurav@gauravjain.org> | 2014-04-20 21:39:49 -0400 |
|---|---|---|
| committer | Gaurav Jain <gaurav@gauravjain.org> | 2014-04-20 21:39:49 -0400 |
| commit | c5c2dcb3bffe60d2869dc141b22d1e2371fa1d9c (patch) | |
| tree | 5ae9f0d6ca987309602a6bbc39f0c70505f10c86 /tests/examplefiles/example.sh | |
| parent | 292c0d574c508b1939de33b02272dde977cc9c66 (diff) | |
| download | pygments-c5c2dcb3bffe60d2869dc141b22d1e2371fa1d9c.tar.gz | |
Reorder regex matches to ensure number match is before text
Diffstat (limited to 'tests/examplefiles/example.sh')
| -rw-r--r-- | tests/examplefiles/example.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/examplefiles/example.sh b/tests/examplefiles/example.sh index 5bac0d87..904b93db 100644 --- a/tests/examplefiles/example.sh +++ b/tests/examplefiles/example.sh @@ -1,5 +1,6 @@ #!/bin/bash +printf "%d %s\n" 10 "foo" printf "%d %s\n" $((10#1)) "bar" let "m = 10#${1:1:2}" @@ -14,3 +15,5 @@ echo $m m=$((10#$1)) echo $m +m=$((10)) +echo $m |
