Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash script expand string on spaces

readarray -t -d '' myStr < <(xargs printf '%s' <<<"$myStr")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #script #expand #string #spaces
ADD COMMENT
Topic
Name
9+1 =