Skip to content

Instantly share code, notes, and snippets.

@posix4e
Created February 6, 2014 21:43
Show Gist options
  • Save posix4e/8853085 to your computer and use it in GitHub Desktop.
Save posix4e/8853085 to your computer and use it in GitHub Desktop.
Bizarro bug
#!/bin/sh
set -ex
for i in {1..1000}
do echo $i
echo "local.random.diceroll 1 `date +%s`" | nc localhost 2003
done
+++ for i in '{1..1000}'
+++ echo 1
1
date +%s
+++ nc localhost 2003
++++ date +%s
+++ echo 'local.random.diceroll 1 1391722961'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment