#!/bin/bash if [ -f $1 ] then filename=$(basename “$1”) echo “Converting file…” dwebp “${filename%.*}”.webp -o “${filename%.*}”.png else echo “The file does not exist.” fi
One of the issues of most of the information out there with respect to the forth language (and this includes books) is the lack of a clear illustration of how to write a routine and call it in the program in a easy to understand manner. They show how to write a routine and call … Read More “Hello World Gforth (better example)” »