Mercurial > repo
changeset 1822:499f5c105cde
<oerjan> cat q.1 >q
author | HackBot |
---|---|
date | Fri, 25 Jan 2013 21:05:39 +0000 |
parents | 1cef690af38d |
children | 42bfc2a651af |
files | q |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/q Fri Jan 25 21:05:26 2013 +0000 +++ b/q Fri Jan 25 21:05:39 2013 +0000 @@ -1,5 +1,5 @@ #!/bin/sh topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//") topic1=$(echo "$topic" | sed "s/s$//") -([ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ] && cat /dev/urandom && exit 0; ) || [ -e "wisdom/$topic" && cat "wisdom/$topic" ] || [ -e "wisdom/$topic1" && cat "wisdom/$topic1" ] || { echo "$1? ��\(��_o)/��"; exit 1; } +([ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ] && cat /dev/urandom && exit 0; ) || [ -e "wisdom/$topic" ] && cat "wisdom/$topic" || [ -e "wisdom/$topic1" ] && cat "wisdom/$topic1" || { echo "$1? ��\(��_o)/��"; exit 1; }