Note this is sourceed, so this is not a shell script. The Bash version is 5.1.4.
How to recreate:
Create a file named "p"
linky(){
comdll="cat"
shopt -s expand_aliases
alias modavar="$comdll"
echo "$argin" | modavar #| getlinks "$argin" | sort -u
}
Then run:
echo "source p ; linky https://duckduckgo.com" | bash --norc