dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit ab8f4394b287bfe318200d563090c852da50446f
parent 2af69547102a6001023ead81b94117e4ca729e4c
Author: hhvn <dev@hhvn.uk>
Date:   Tue,  4 Jan 2022 17:31:26 +0000

.s/netdownload: keep multiple filetypes (eg, .tar.gz)

Diffstat:
M.scripts/netdownload | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.scripts/netdownload b/.scripts/netdownload @@ -4,7 +4,7 @@ fn uri2file { ret = () for (uri in $*) { - filetype = `{echo $uri | grep -o '\.[^/.]*$' | sed 's/^.//'} + filetype = `{echo $uri | grep -o '\.[^/]*$' | sed 's/^.//'} hier = ``('/'){echo $uri | sed 's~^.*://~~'} for (ent in $hier) { if (~ $reverse ()) {