std.h: Don't use `extern` in function prototypes
[sunny256-utils.git] / unz
blob6d23cdd594984e69ef2441ae9f122b3306a55abd
1 #!/usr/bin/env bash
3 #=======================================================================
4 # unz
5 # File ID: ec739fc4-e254-11e4-82d7-2394dd2564f8
7 # Unzip a .zip file into its own directory to avoid zipbombs and
8 # zipfiles that don't follow good behaviour as they do in the .tar
9 # world.
11 # Author: Øyvind A. Holm <sunny@sunbase.org>
12 # License: GNU General Public License version 2 or later.
13 #=======================================================================
15 unzip -d "$(basename "$1" .zip)" "$1"