tinmarino.github.io said:...
Hello BruXy
Very good post! I was really impressed by the overflow exploitation for harmonic mutation.
I was just looking for some one-liners, well I found them.
Thank you for the reference links, these are some good reading easy to find thanks to you.
Here is the BaSh version. That is NOT piping because I experienced the same problem, so it converts to octal within arithmetic interpolation and use printf just for the oct -> char.
for((t=0;;t++));do((n=( ((t*5&t>>7)|(t*3&t>>10))&+(+50^-100)%128 ),\
d=n%255,a=d/64,r=(d%64),b=r/8,c=re%8));printf'%b' "\\$a$b$c";done | aplay
Cheers,
tinmarino@gmail.com
Ref: Oct -> Char: https://stackoverflow.com/questions/890262/integer-ascii-value-to-character-in-bash-using-printf
10/16/2020 7:17
Tinmarino said:...
Copy paste fix (sorry for error in previous comment):
for((t=0;;t++));do((n=( ((t*5&t>>7)|(t*3&t>>10))&+(+50^-100)%128 ),\
d=n%255,a=d/64,r=(d%64),b=r/8,c=re%8));printf '%b' "\\$a$b$c";done|aplay
10/16/2020 7:22