view bin/shmify @ 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 7f957c1f4661
children
line wrap: on
line source

#!/bin/bash
print_args_or_input "$@" | sed -e 's/^\([^aeiou]*\)\(.*\)$/\1\2 shm\2/'