#!/usr/bin/env bash## Generate a QR code for each line of the source file.#
SRC=$1if[-z$SRC];thenecho'No source file specified.'exit1ficat$SRC|while IFS=read -r line;doclearecho -n"$line"| qrencode -t UTF8
read -p $"Press Enter to continue" key < /dev/tty
done