Cloud Stack Ninja

I know how to get the line that starts with the word "with":

grep "^with" ithaka.txt

but what is the command to start a line with the word "with" or "With". I tried this:

grep "^with" * "^With" ithaka.txt

but that didn't work.



Read more here: https://stackoverflow.com/questions/64419052/match-all-lines-that-contain-words-that-start-with-with-or-with

Content Attribution

This content was originally published by user14342519 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: