How can I extract all quotations in a text?
        Posted  
        
            by secr
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by secr
        
        
        
        Published on 2008-12-05T11:11:14Z
        Indexed on 
            2010/03/31
            11:23 UTC
        
        
        Read the original article
        Hit count: 390
        
I'm looking for a SimpleGrepSedPerlOrPythonOneLiner that outputs all quotations in a text.
Example 1:
echo “HAL,” noted Frank, “said that everything was going extremely well.” | SimpleGrepSedPerlOrPythonOneLiner
stdout:
"HAL,"
"said that everything was going extremely well.”
Example 2:
cat MicrosoftWindowsXPEula.txt | SimpleGrepSedPerlOrPythonOneLiner
stdout:
"EULA"
"Software"
"Workstation Computer"
"Device"
"DRM"
etc.
© Stack Overflow or respective owner