Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

command separate words into lines

Just use tr command for this purpose:
tr -s '[[:punct:][:space:]]' '
'
Example for
cat file.txt | tr -s '[[:punct:][:space:]]' '
'
 
PREVIOUS NEXT
Tagged: #command #separate #words #lines
ADD COMMENT
Topic
Name
9+2 =