X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=content%2Farticles%2Fgify-back-to-bash-scripting.md;h=7c0055e17e35dcfb702d4d74b2ea1160d2a294d4;hb=4261231fb5d0de39cad5b2dad8fc92e5dc5a249f;hp=6737a632d062e12f5bcf6d585d32d82583429b92;hpb=ae9e44784afc692781c424163c42abd9a1eeb000;p=danix.xyz.git diff --git a/content/articles/gify-back-to-bash-scripting.md b/content/articles/gify-back-to-bash-scripting.md index 6737a63..7c0055e 100644 --- a/content/articles/gify-back-to-bash-scripting.md +++ b/content/articles/gify-back-to-bash-scripting.md @@ -1,7 +1,7 @@ --- title: gify.sh – back to bash scripting author: Danilo M. -type: post +type: article date: 2016-01-25T12:41:06+00:00 featured_image: /uploads/2016/01/G0092546.jpg categories: @@ -74,7 +74,7 @@ Enjoy! # # #--------------------------------------------------------------------------------# -# ERROR & EXIT STATUSES +# ERROR & EXIT STATUSES # SHOWHELP=61 USERABORTED=62 @@ -85,19 +85,19 @@ E_FILEXISTS=74 E_NOIMAGES=75 E_UNKNOWNOPT=76 -# TOOLS +# TOOLS # PWD=$(pwd) MOGRIFY=$(which mogrify) CONVERT=$(which convert) -# we need mogrify and convert from the imagemagik toolset for this script to work +# we need mogrify and convert from the imagemagik toolset for this script to work # if [[ ! -x $MOGRIFY || ! -x $CONVERT ]]; then showerror missingdeps exit $E_MISSINGDEPS fi -# showhelp +# showhelp # showhelp () { case $1 in @@ -131,7 +131,7 @@ case $1 in esac } -# showerror +# showerror # showerror () { if [ -z $1 ];then