Mercurial > repo
changeset 1829:e372190fa63d
<oerjan> rm q{,.1,.2}
author | HackBot |
---|---|
date | Fri, 25 Jan 2013 21:25:33 +0000 |
parents | c07349799d0b |
children | 8662a124bdb3 |
files | q q.1 q.2 |
diffstat | 3 files changed, 0 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/q Fri Jan 25 21:23:38 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#!/bin/sh -topic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//") -topic1=$(echo "$topic" | sed "s/s$//") -if [ \( "$topic" = "ngevd" \) -a \( -e wisdom/ngevd \) ]; - then cat /dev/urandom; exit 0; - elif [ -e "wisdom/$topic" ]; - then cat "wisdom/$topic"; - elif [ -e "wisdom/$topic1" ]; - then cat "wisdom/$topic1"; - else echo "$1? ¯\(°_o)/¯"; exit 1; -fi -
--- a/q.1 Fri Jan 25 21:23:38 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#!/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; } -
--- a/q.2 Fri Jan 25 21:23:38 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -#!/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; ) || if [ -e "wisdom/$topic" ]; then cat "wisdom/$topic"; elif [ -e "wisdom/$topic1" ]; then cat "wisdom/$topic1"; else echo "$1? ��\(��_o)/��"; exit 1; fi -