From 6d3940a381a91f61c87ecb9f01f99c897b1aaf00 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 18 Apr 2026 19:46:44 +0200 Subject: removed all occurrencies of the highlight shortcode. File removed. --- .../articles/gify-back-to-bash-scripting/index.md | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'content/en/articles') diff --git a/content/en/articles/gify-back-to-bash-scripting/index.md b/content/en/articles/gify-back-to-bash-scripting/index.md index 7841895..647c8ea 100644 --- a/content/en/articles/gify-back-to-bash-scripting/index.md +++ b/content/en/articles/gify-back-to-bash-scripting/index.md @@ -41,7 +41,8 @@ I made this script mostly for fun and personal use, so it's absolutely not idiot I'll leave you with a copy of the script here in case you want to have a look at it before downloading. Enjoy! -{{< highlight bash "linenos=true" >}}#! /bin/bash +```bash +#! /bin/bash # Author: Danilo 'danix' Macri # Author URI: https://danix.xyz @@ -80,7 +81,7 @@ MOGRIFY=$(which mogrify) CONVERT=$(which convert) # we need mogrify and convert from the imagemagik toolset for this script to work # -if [[ ! -x $MOGRIFY || ! -x $CONVERT ]]; then +if [[ ! -x $MOGRIFY || ! -x $CONVERT ]]; then showerror missingdeps exit $E_MISSINGDEPS fi @@ -91,20 +92,20 @@ showhelp () { case $1 in resize ) - echo "USAGE: $(basename $0) -r | --resize [width] [extension]" + echo "USAGE: $(basename $0) -r | --resize [width] [extension]" ;; gif ) - echo "USAGE: $(basename $0) -g | --gif [delay] [extension] [output file name]" + echo "USAGE: $(basename $0) -g | --gif [delay] [extension] [output file name]" ;; * ) #|----------------------- TEXT MAX WIDTH - 80 CHARS ----------------------------| echo -e "$(basename $0) - create animated gifs from images inside current directory" - echo -e "USAGE: $(basename $0) <option> [arguments]" - echo -e "\twhere <option> is one between:";echo - echo -e "\t-r | --resize [width] [extension]" + echo -e "USAGE: $(basename $0)