Write a sed program named ins that copies a file to standard output, chang- ing all occurrences of cat to dog and preceding each modified line with a line that says following line is modified:

What will be an ideal response?


$ cat ins
/cat/ i\
following line is modified:
s/cat/dog/g

Computer Science & Information Technology

You might also like to view...

Describe the relationship between a superclass and its subclass.

What will be an ideal response?

Computer Science & Information Technology

A value:

A) includes letters, numbers, and spaces. B) controls the sequence in which Excel performs arithmetic operations. C) is a combination of cell references, operators, values, and/or functions used to perform calculations. D) is a number that represents a quantity and can be the basis of calculations.

Computer Science & Information Technology

All binary tree traversals start at the left-most child node.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Individual distortions made in the Liquify dialog box are not recorded in the ____________________ panel.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology