A question on .exrc while using vi
Neil Greene
neil at ms.uky.edu
Wed Dec 5 05:46:08 AEST 1990
Use the change command from within vi at the command prompt:
:[x,y]s/<p>/<r>/<f>
In the above example
1) [x,y] are optional and may be replaced with line number
values to restrict the range of the change command.
2) p is the pattern you are changing
3) r is the pattern you want to change to
4) f are optional flags of either 'g' for global change or 'c' for confirm on
each occurance.
More information about the Comp.unix.misc
mailing list