regex - Replace all whitespace with a line break/paragraph mark to make a word list -


I am trying to list the vocab for the Greek text that is translated into orbit. I want to replace each place or tab character with a paragraph mark so that each word appears on its line. Does anyone give me CAD command, and can tell what I am doing? I'm still trying to figure it out.

You can use

  sed -e's / \ s \ + / \ N / g 'old & gt; New  

escape sequence \ s matches any white space character (space, tab, new line, and so on), so \ S \ + means that the letters of one or more white space are replaced by a new line, in the end, / g implies that instead of replacement, It should be done as often as possible.

Uses the modified code as old as input and using the given instructions file above.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -