Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 12

How Do I Replace A Text String In Many Files At Once?

$
0
0
The replace command is a string-replacement utility. It changes strings in place in files or on the standard input. This command uses a finite state machine to match longer strings first. It can be used to swap strings. This command is similar to the Perl -pie syntax or sed (stream editor) command.

Viewing all articles
Browse latest Browse all 12

Trending Articles