Mercurial > repo
view bin/learn @ 6198:88080ce5575b
<b_jonas> ` echo $\'#!/bin/sh\\nexec sqlite3 :memory: "$@"\' > bin/sqli && chmod a+x bin/sqli
author | HackBot |
---|---|
date | Sun, 08 Nov 2015 12:33:11 +0000 |
parents | d4aebeacae03 |
children | efa261b3fed0 |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | lowercase | sed 's/^\(an\?\|the\) //;s/s\?[:;,.!?]\? .*//') echo "$1" >"wisdom/$topic" echo "Learned '$topic': $1"