search for: obviouslsy

Displaying 2 results from an estimated 2 matches for "obviouslsy".

Did you mean: obvioulsy
2013 Mar 20
2
[PATCH] Change test scripts shell to bash, to avoid lack of arithmetic support in dash, which is sh on Ubuntu 10.04
The subject line mostly says it all, but for reference, having #!/bin/sh causes the following error: arithmetic expression: expecting primary: " % 255 + 1" --- test/test_flac.sh | 2 +- test/test_grabbag.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_flac.sh b/test/test_flac.sh index 10981c0..257c5ea 100755 --- a/test/test_flac.sh +++
2013 Mar 20
3
[PATCH] Change test scripts shell to bash, to avoid lack of arithmetic support in dash, which is sh on Ubuntu 10.04
...auses the following error: > > > > arithmetic expression: expecting primary: " % 255 + 1" > > Arithmetic support is actually not the issue, rather its that dash/sh > doesn't support $RANDOM. The solution to this is to replace $RANDOM > with $(date +%N) which is obviouslsy not all that random, but which > is close enough to random for this usage. > > Since Jaren is in the process of making the scripts POSIX shell > compliant, I think swicthing to bash is a bad idea :-). > > I was going to do the $RANDOM to $(date +%N) conversion after Jaren's &g...