From 08757d47c480c130d69270855c6c0371f6b7d385 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 5 Jan 2016 21:23:22 +0100 Subject: allow " in attribute path --- get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get b/get index e35fc47..2ed2fe6 100755 --- a/get +++ b/get @@ -92,7 +92,7 @@ result=$(nix-instantiate \ for i; do echo "$i" done | sed -n ' - s/^[A-Za-z_][0-9A-Za-z_./-]*$/--attr &/p + s/^[A-Za-z_][0-9A-Za-z_"./-]*$/--attr &/p s/^\([0-9A-Za-z-]\+\)=\([.0-9A-Za-z-]*\)$/--argstr \1 \2/p ' ) \ -- cgit v1.2.3