Answers for "separate words in lines bash"

0

separate words in lines bash

Just use tr command for separating words output into separate lines:
tr -s '[[:punct:][:space:]]' '\n'
Example for
cat file.txt | tr -s '[[:punct:][:space:]]' '\n'
Posted by: Guest on October-22-2020

Code answers related to "separate words in lines bash"

Browse Popular Code Answers by Language