annotate bin/smu @ 697:7359a8dbab5c

[bashrc] Simplify grep check and unify ls check
author nanaya <me@nanaya.pro>
date Sun, 23 Oct 2022 02:04:26 +0900
parents 5bafb912837e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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}*"