Answer to Question #81386 in UNIX/Linux Programming for Khang Nguyen

Question #81386
You are working on a documentation file userNotes.txt with some members of your software development team. Just before the file needs to be submitted, you manager tells you that a company standard requires that two blank spaces be left between the end-of-sentence period (.) and the start of the next sentence.
For example, this is OK: Turn the knob. Push the “on” button.
This is not: Turn the knob. Push the “on” button.
Some have inserted only a single blank between sentences.

You need to fix this fast, and the first thing you want to do is to find out how bad the problem is.

What command would you give to list all lines of userNotes.txt that contain sentence endings with only one blank before the start of the next sentence?

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?
1
Expert's answer
2018-09-25T13:40:38-0400
Dear Khang Nguyen, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS