Changing Long Strings
Changing Long strings
Have you faced a situation where the string that you wish to change
does not fit the command line? If the answer is Yes then you may be
interested in the following tip
My command line looks like below
COMMAND ==> ____________________________________________________
and I have to execute the following command
CHANGE A_VERY_VERY_VERY_VERY_LONNNNNNNNNNNNNNNNNNG_STRING TO A_NEW_STRING
The above command is too big for the above command line.
But where there is a will there is a way. The above can be achieved in the following manner.
First find the long string by using the following command
and after executing the command, the string found is captured in
*, so all you need to do is now change * to new string
C * A_NEW_STRING