Mercurial > ec-dotfiles
view bin/smu @ 505:de5f65991cde
sh doesn't have parameter expansion :(
author | edogawaconan <me@myconan.net> |
---|---|
date | Sun, 16 Mar 2014 00:01:21 +0900 |
parents | 5bafb912837e |
children |
line wrap: on
line source
#!/bin/sh keyword=$(printf "%s\n" "$*" | tr ' ' '*') find /anime/music/ -iname "*${keyword}*"