Last active
September 29, 2022 00:39
-
-
Save rubeniskov/63c8b5d5b8d213a83ef6e580ba3abb3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tempfoo=`basename $0` | |
TMPFILE=`mktemp /tmp/${tempfoo}` || exit 1 | |
filename=$TMPFILE/$(basename "$(1)") | |
wget -q -O- $(0) > $filename | |
echo $filename` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment