Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (10 sloc) 235 Bytes
#! /bin/sh
#
# refactor_text.sh
# Copyright (C) 2018 [Anselmos](github.com/anselmos) <anselmos@users.noreply.github.com>
#
# Distributed under terms of the MIT license.
#
for i in $(ack2 -l "$1"); do
sed -i -e "s/$1/$2/g" $i
done