Szukam SimpleGrepSedPerlOrPythonOneLiner, który wypisze wszystkie cytaty w tekście.Jak mogę wyodrębnić wszystkie cytaty z tekstu?
Przykład 1:
echo “HAL,” noted Frank, “said that everything was going extremely well.” | SimpleGrepSedPerlOrPythonOneLiner
standardowe wyjście:
"HAL,"
"said that everything was going extremely well.”
Przykład 2:
cat MicrosoftWindowsXPEula.txt | SimpleGrepSedPerlOrPythonOneLiner
standardowe wyjście:
"EULA"
"Software"
"Workstation Computer"
"Device"
"DRM"
itp
(link to the corresponding text).
W Windows '^' musi być uciekł. 'cat eula.txt | grep -o "\" [^^ \ "] * \" "' – jfs