I am trying to use curl qrenco.de/google.com with an alias so that the alias takes the input parameter google.com and appends it to curl qrenco.de/. i want it to look something like this:
$qrcode google.com
i have tried the following:
alias qrcode='curl qrenco.de/$(read)'
but this doesn't seem to work. i am new to bash and would like to know the right approach.
qrencodeman-page: linux.die.net/man/1/qrencode