Which command would you use to swap the words hither and yon on any line with any number of words between them? (You need not worry about special punctuation, just uppercase and lowercase letters and spaces.)
What will be an ideal response?
The following command uses a bracketed regular expression (page 1070) to
exchange on the current line the first occurrence of the word hither with the
first following occurrence of yon:
s/hither\(.*\)yon/yon\1hither/
The \1 in the replacement string takes on the value of what the bracketed
regular expression [\(.*\)] matched in the search string.
You might also like to view...
With _______, a class is derived from several base classes.
Fill in the blank(s) with the appropriate word(s).
Sociologists use social network diagrams called _________ to depict connections between people.
Fill in the blank(s) with the appropriate word(s).
You can include forms, reports, tables, and queries on the tabs of a navigation form.
Answer the following statement true (T) or false (F)
?The _________ audio element attribute specifies whether and how the audio should be loaded when the page loads.
Fill in the blank(s) with the appropriate word(s).