+ find "$PREFIX" -follow -type d -iname "*${@}*" 2>/dev/null | while
read f
+ (
+ do
+ find "$f" -follow -type f -iname '*.gpg' 2>/dev/null
+ done
+ find "$PREFIX" -follow -type f -iname "*${@}*.gpg" 2>/dev/null
+ ) |
+ sort -u | sed 's/.gpg//g' | cut -c $c- && rm -f "$tmp_file"
+ fi
}
_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store
I believe you can get rid of the tmp_file by using a subshell.
(untested)
- PATCH: add -n or -nontree option in find OSiUX
- Re: PATCH: add -n or -nontree option in find higuita
- Re: PATCH: add -n or -nontree option in find Tobias Girstmair
- Re: PATCH: add -n or -nontree option in find Saeed Rasooli
- Re: PATCH: add -n or -nontree option in find OSiUX
- Re: PATCH: add -n or -nontree option in ... Tobias Girstmair
- Re: PATCH: add -n or -nontree optio... Saeed Rasooli
