I can't figure how to tell sed dot match new line:
echo -e "one
two
three" | sed 's/one.*two/one/m'
I expect to get:
one
three
instead I get original:
See Question&Answers more detail:osone
two
three
I can't figure how to tell sed dot match new line:
echo -e "one
two
three" | sed 's/one.*two/one/m'
I expect to get:
one
three
instead I get original:
See Question&Answers more detail:osone
two
three