view bin/smu @ 269:cd48b7a5cddd

As it turns out, Solaris' grep isn't POSIX.
author Edho Arief <edho@myconan.net>
date Thu, 24 Nov 2011 15:10:24 +0700
parents 5bafb912837e
children
line wrap: on
line source

#!/bin/sh

keyword=$(printf "%s\n" "$*" | tr ' ' '*')
find /anime/music/ -iname "*${keyword}*"