X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/4dad1c3659232c663d48d0fa2ae61e953e75d925..4bc2baeb6a92ca2059ec37d6013141123ff4b38b:/unitproc/bktemp-appendArgTar diff --git a/unitproc/bktemp-appendArgTar b/unitproc/bktemp-appendArgTar index 400f89e..ee31743 100644 --- a/unitproc/bktemp-appendArgTar +++ b/unitproc/bktemp-appendArgTar @@ -7,8 +7,8 @@ die() { yell "$*"; exit 111; } try() { "$@" || die "cannot $*"; } appendArgTar(){ # Desc: Writes first argument to temporary file with arguments as options, then appends file to tar - # Usage: writeArg "$(echo "Data to be written.")" [name of file to be inserted] [tar path] [temp dir] ([cmd1] [cmd2] [cmd3] [cmd4]...) - # Version: 1.0.0 + # Usage: appendArgTar "$(echo "Data to be written.")" [name of file to be inserted] [tar path] [temp dir] ([cmd1] [cmd2] [cmd3] [cmd4]...) + # Version: 1.0.1 # Input: arg1: data to be written # arg2: file name of file to be inserted into tar # arg3: tar archive path (must exist first)