xxPCIbclkp = gsrpkg/gsrdie/xxPCIbclkp
if i got many lines of the above.
How can i swap to become as below at the same time some new words
gsrpkg_te can be add in
/gsrpkg_te/gsrpkg/gsrdie/xxPCIbclkp = xxPCIbclkp |
How to do this in VIM.
Last edited on
@ne555
hi could you elaborate more how this is being used?
Does it have to be vim?
sed "sT\(.*\) = \(.*\)T/gsrpkg_te/\2 = \1T" filename
(Depending on what else is on the file.)