view bin/! @ 3331:d648a4814871

<monotone> (echo \'#!/usr/bin/tail -1\'; echo \'meow meow meow meow\') > bin/cats && chmod +x bin/cats
author HackBot
date Wed, 31 Jul 2013 00:52:12 +0000
parents 41595cf4a435
children
line wrap: on
line source

#!/bin/sh
\? "$@" | perl -C7 -pe '$_ = uc' | sed -e s/[.?]/!/g -e 's/!\?$/!/'