Je suis à la recherche d'un SimpleGrepSedPerlOrPythonOneLiner qui affiche toutes les citations dans un texte.Comment puis-je extraire toutes les citations dans un texte?
Exemple 1:
echo “HAL,” noted Frank, “said that everything was going extremely well.” | SimpleGrepSedPerlOrPythonOneLiner
stdout:
"HAL,"
"said that everything was going extremely well.”
Exemple 2:
cat MicrosoftWindowsXPEula.txt | SimpleGrepSedPerlOrPythonOneLiner
stdout:
"EULA"
"Software"
"Workstation Computer"
"Device"
"DRM"
etc.
(link to the corresponding text).
Sous Windows '^' doit être échappé. 'chat eula.txt | grep -o "\" [^^ \ "] * \" "' – jfs