view paste/paste.25005 @ 7925:2c335d004eab

<shachaf> ` sed -i \'s#1053793#"$(ls -id /hackenv/wisdom | cut -d\\ -f 1)"#\' bin/ls
author HackBot
date Sat, 07 May 2016 01:24:39 +0000
parents e037173e0012
children
line wrap: on
line source

#!/bin/sh
topic=$(echo "$1" | tr A-Z a-z)
[ -e "wisdom/$topic" ] || { echo "$1? ¯\(°_o)/¯"; exit 1; }
cat "wisdom/$topic"