Bash: Quotes getting stripped when a command is passed as argument to a function November 18, 2022 by Tarik Try using \" instead of just ".