Mercurial > repo
view bin/? @ 1842:8842fd6938f6
<oerjan> sed -i -e \'2d\' -e \'3acd wisdom\' bin/\'?\'
author | HackBot |
---|---|
date | Sat, 26 Jan 2013 00:40:12 +0000 |
parents | 815fbe2140e3 |
children | 3e79cad414c3 |
line wrap: on
line source
#!/bin/sh cd wisdom cd wisdom topic1=$(echo "$topic" | sed "s/s$//") if [ \( "$topic" = "ngevd" \) -a \( -e ngevd \) ]; then cat /dev/urandom; elif [ -e "$topic" ]; then cat "$topic"; elif [ -e "$topic1" ]; then cat "$topic1"; else echo "$1? ¯\(°_o)/¯"; exit 1; fi