diff options
author | root <root@shack.(none)> | 2010-05-07 04:05:52 +0200 |
---|---|---|
committer | root <root@shack.(none)> | 2010-05-07 04:05:52 +0200 |
commit | 0cd01b51b46f270a8232f3b525bcde06ffe58c4e (patch) | |
tree | 0250a4e9b2d719be4792becb3f4fbbf89c0cdead | |
parent | 0b25165144fb6a6c0e63df62bf282f13465baa82 (diff) |
noise: allow '#'s in input and '_' in module-names
-rwxr-xr-x | noise | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -77,7 +77,8 @@ readline() { { read && echo "$REPLY" ; } | sed -rn " s/[']//g s/~%/\n/g - s:^/([a-z]+)([[:space:]]+(.*))?$:command=\1; args='\3';:p;t + s/([^\\])#/\1\\\\#/g + s:^/([a-z_]+)([[:space:]]+(.*))?$:command=\1; args='\3';:p;t s@^([[:alnum:]_/+-]+):[[:space:]]*(.*)@command=lang; args='\1 \2';@p;t s@^\![[:space:]]*(.*)@command=play; args='\1';@p;t s:.*:command='$noise_default_command'; args='&';:p;t |