commit 659dabebe363e794b22d8e6b5d15854831ec847e parent 7bb83e129b3a1ced4dc3cd3947d9e0abd59df390 Author: Jason A. Donenfeld <Jason@zx2c4.com> Date: Thu, 4 Apr 2013 15:57:40 +0200 Simplify sed to not use replacement. Diffstat:
M | src/password-store.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/password-store.sh b/src/password-store.sh @@ -213,7 +213,7 @@ case "$command" in else echo "${path%\/}" fi - tree -l --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' + tree -l --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\.gpg$//' else passfile="$PREFIX/$path.gpg" if [[ ! -f $passfile ]]; then