Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

replace whitespace with newline

# credit to the Stack Overflow user in the source link
$ echo 'τέχνη βιβλίο γη κήπος' | sed -E -e 's/[[:blank:]]+/
/g'
>>> τέχνη
    βιβλίο
    γη
    κήπος
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #whitespace #newline
ADD COMMENT
Topic
Name
8+9 =