DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+1 =
Submit