This question already has an answer here:
What command would you give to print (display on the screen) the corrected text of userNotes.txt with all sentence endings having required two blanks before the start of the next sentence?
This is the question I'm trying to answer using
sed, but every attempt I try is wrong. It's possible I'm missing something, but the code I feel should work is:
sed 's/\. /\. /g' userNotes.txt
It works but not I suppose in this context. The error response gives me:
No. That's not it. For example, your command listed All sessions have those characteristic three steps. If you are working on a PC where you are the only registered user, you might log in where I was expecting All sessions have those characteristic three steps. If you are working on a PC where you are the only registered user, you might log in
which has my two spaces as being too large. It's supposed to be a simple answer, but I don't believe it gets simpler than this. I also cannot use things like
[[:space:]], awk, etc. just basic sed edit.