Skip to content

Instantly share code, notes, and snippets.

View pub_machine
## Source this to add the functions to your environment
function choice {
lc=$(wc -l < $file)
if [ ${lc} -gt 0 ]; then
sed -n "$((1 + $RANDOM % ${lc})) p" ${file}

Keybase proof

I hereby claim:

  • I am mzlee on github.
  • I am mzlee ( on keybase.
  • I have a public key whose fingerprint is B1CA 52AE 3693 86D0 2363 DAFA 9F49 DD6A F116 F558

To claim this, I am signing this object: