Mercurial > repo
comparison bin/? @ 1771:297d792c55c4
<Jafet> mv bin/q bin/\\?
author | HackBot |
---|---|
date | Fri, 25 Jan 2013 13:21:57 +0000 |
parents | c091565553db |
children | 8949d5d1637d |
comparison
equal
deleted
inserted
replaced
1770:9db5fee6793e | 1771:297d792c55c4 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//") | 2 topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//") |
3 [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; } | 3 ([ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ] && cat /dev/urandom && exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; } |
4 cat "wisdom/$topic" | 4 cat "wisdom/$topic" |
5 |