This is a VI editor command specific to UNIX operating
system. It is usually used to substitute texts in VI editor. The basic formula is
parameter1,parameter2s/parameter3 (text to be altered or
location involved)/parameter4(final text to be put)
parameter1: Indicates the first line from which the
substitution will take place.
0/1 indicates the first line of any file in VI editor. 2
indicate the second line and so on.
Parameter2: Indicates the last line up to which the
substitutions will occur. (the count of the final line)
S: Stands for the substitution.
Parameter3: Indicates the part of the text in each line to
be substituted or the place of substitution (usually prior to the beginning (^)
or after end ($) of the line).
Parameter4: This indicates the final text that the user
wishes to put in desired places.