How can I swap or replace multiple strings in code at the same time?
Posted
by Yktula
on Stack Overflow
See other posts from Stack Overflow
or by Yktula
Published on 2010-04-06T20:59:24Z
Indexed on
2010/04/06
21:03 UTC
Read the original article
Hit count: 263
Given the following code sample:
uint8_t i, in, ni;
i = in = 2; ni = 1;
while (2 == i > ni) in++;
How can I replace i, in, and ni
, respectively with either in, ni, and i
or inni, inin, and nini
using emacs, vi, *nix commands, or anything else?
© Stack Overflow or respective owner