sh function name cannot contain a '-' character apparently.
forgotten to pipe to awk
tar must be run from the folder where extracting