Skip to content

Commit 5b21711

Browse files
authored
Update ss-functions.txt
1 parent 22e3a2a commit 5b21711

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bash/ss-functions.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,17 +1810,17 @@ function ss_truncate {
18101810

18111811
## ss_untar (keep flag order) ##
18121812
function ss_untar {
1813-
command tar -xf -- "$@"
1813+
command tar -xf "$1" "${@:2}"
18141814
}
18151815

18161816
## ss_untargz (keep flag order) ##
18171817
function ss_untargz {
1818-
command tar -zxf -- "$@"
1818+
command tar -zxf "$1" "${@:2}"
18191819
}
18201820

18211821
## ss_unzip ##
18221822
function ss_unzip {
1823-
command unzip -o -- "$@" > /dev/null
1823+
command unzip -o "$@" > /dev/null
18241824
}
18251825

18261826
## ss_wget ##

0 commit comments

Comments
 (0)