Mercurial > repo
view bin/addquote @ 8878:6dff80b6fb44
<shachaf> ` echo $\'#!/usr/bin/python\\n\\nimport random\\nimport string\\n\\nprint "".join(random.choice(string.ascii_lowercase) for _ in xrange(15))\' > bin/password; chmod +x bin/password
author | HackBot |
---|---|
date | Fri, 29 Jul 2016 00:54:55 +0000 |
parents | 56dcce63901b |
children | e1ce00d00682 |
line wrap: on
line source
#!/bin/sh [ "$1" ] || exit 1 printf "%s\n" "$1" >>quotes printf "%d) %s" $(qc | cut -d' ' -f1) "$1"