Mercurial > repo
view bin/learn @ 4013:3c3b8e2de54d
<mrhmouse> echo "echo \'#!/bin/sh\'" > bin/buttsnack
author | HackBot |
---|---|
date | Wed, 13 Nov 2013 21:37:22 +0000 |
parents | 761f0d451a32 |
children | 74a3ab67cd2c |
line wrap: on
line source
#!/bin/bash topic=$(echo "$1" | sed 's/ .*//' | lowercase) info=$(echo "$1" | sed 's/[^ ]* //') echo "$1" >"wisdom/$topic" echo "I knew that."