summaryrefslogtreecommitdiffstats
path: root/noise/modules
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-09 15:34:39 +0200
committertv <tv@xso>2011-09-09 15:34:39 +0200
commit9f4fae0616d76735790045465fd3994353af8f32 (patch)
treea2322b79b2aecf2139830929c9ade7ae58844526 /noise/modules
parentaad509b71f5a268e5b40f2b803b6d6fd4894bfbb (diff)
//noise/modules/ein_mal_eins: use BRE @sed
Diffstat (limited to 'noise/modules')
-rwxr-xr-xnoise/modules/ein_mal_eins2
1 files changed, 1 insertions, 1 deletions
diff --git a/noise/modules/ein_mal_eins b/noise/modules/ein_mal_eins
index fb385b31..e21612a5 100755
--- a/noise/modules/ein_mal_eins
+++ b/noise/modules/ein_mal_eins
@@ -1,7 +1,7 @@
#! /bin/bash
R() {
- echo "`od -t d -N 1 /dev/urandom | sed -rn '1s/^[0-9]+ +//p'` % $@" | bc
+ echo "`od -t d -N 1 /dev/urandom | sed -n '1s/^[0-9]\+ \+//p'` % $@" | bc
}