Ok, I have a file with various lines of text. On each line, want to extract the text after the first period and before the next period. Here's an example of one line of text:
3:30 AM A King in New York (1957) A European king loses his money while stranded in the US. Charles Chaplin, Michael Chaplin, Dawn Addams. D: Charles Chaplin. BW 100m.
so I would want to grab Charles Chaplin, Michael Chaplin, Dawn Addams
I can't figure out how to do this using sed or grep, and I've tried looking up a few examples but no dice
Can anyone help?
3:30 AM A King in New York (1957) A European king loses his money while stranded in the US. Charles Chaplin, Michael Chaplin, Dawn Addams. D: Charles Chaplin. BW 100m.
so I would want to grab Charles Chaplin, Michael Chaplin, Dawn Addams
I can't figure out how to do this using sed or grep, and I've tried looking up a few examples but no dice
Can anyone help?