How can extract lines that match the regexp string
^li from the text (not a file) below using
sed or something?
linux loan litmus launch
grep but I couldn't find a way to search within a quoted text, not a text file.
grep -n -i "^li" "linux loan litmus launch"
No such file or directory. And I don't want to save this text as a file before searching, if possible.