June 2003
Beginner to intermediate
944 pages
43h 1m
English
c
[address1[,address2]]c\ text
Replace the lines selected by the address with text. When a range of lines is specified, all lines as a group are replaced by a single copy of text. The newline following each line of text must be escaped by a backslash, except the last line. The contents of the pattern space are in effect deleted, and no subsequent editing commands can be applied.
Replace first 100 lines in a file:
1,100c\ \ <First 100 names to be supplied>
Read now
Unlock full access