Why does my shell script choke on whitespace or other special characters?
Channel: Peter Schneider
Date: 2022-12-06

Why does my shell script choke on whitespace or other special characters?
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  |
Thanks to all those great people for their contributions!

 (unix.stackexchange.com/users/885/gilles-so-stop-being-evil)Gilles 'SO- stop being evil' |
 (unix.stackexchange.com/users/885/gilles-so-stop-being-evil)Gilles 'SO- stop being evil' |
 (unix.stackexchange.com/users/17307/zombo)Zombo |
 (unix.stackexchange.com/users/52934/mikeserv)mikeserv |
 (unix.stackexchange.com/users/239879/russ)Russ |
 (unix.stackexchange.com/users/13427/mattias-wadman)Mattias Wadman |
 A special thanks goes out to the (https://unix.stackexchange.com/questions/131766/why-does-my-shell-script-choke-on-whitespace-or-other-special-characters)Stackexchange community |
 
 I wish you all a wonderful day! Stay safe :)
 
  shell bash quoting whitespace shell-script