Here is the fixed script.
#!/bin/bash # This is an easy-to-use front end for qrencode, a QR code generator. # qrencode must be installed for this script to work. # In apt-get, run the command "sudo apt-get install qrencode". # # To the extent possible under law, I waive all copyright and related or # neighboring rights to this script. For more information see # http://creativecommons.org/publicdomain/zero/1.0/. # This work is published from the United States. echo "Enter text for QR code:" read STRING echo "Enter name of file:" read NAME qrencode -o "$NAME" "$STRING" exit 0; (The header is longer then the script!)
