Mercurial > ec-dotfiles
annotate bin/smu @ 651:bdc9eddf3743
[pwgen] rewrite in shell script
author | nanaya <me@nanaya.pro> |
---|---|
date | Wed, 25 Nov 2020 01:43:25 +0900 |
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}*" |