Mercurial > ec-dotfiles
annotate bin/smu @ 251:d7e5a2e70cf3
Proper test for for loop (*, .*)
author | Edho Arief <edho@myconan.net> |
---|---|
date | Sun, 20 Nov 2011 23:21:19 +0700 |
parents | 5bafb912837e |
children |
rev | line source |
---|---|
124
5bafb912837e
Massive addition of old scripts collection.
Edho Prima Arief <edho@myconan.net>
parents:
diff
changeset
|
1 #!/bin/sh |
5bafb912837e
Massive addition of old scripts collection.
Edho Prima Arief <edho@myconan.net>
parents:
diff
changeset
|
2 |
5bafb912837e
Massive addition of old scripts collection.
Edho Prima Arief <edho@myconan.net>
parents:
diff
changeset
|
3 keyword=$(printf "%s\n" "$*" | tr ' ' '*') |
5bafb912837e
Massive addition of old scripts collection.
Edho Prima Arief <edho@myconan.net>
parents:
diff
changeset
|
4 find /anime/music/ -iname "*${keyword}*" |