Sha256: 8eef0856bcb9f41f3670cb2c96ba21f946ce5d9ae93117d06264faf60314e5b0

Contents?: true

Size: 648 Bytes

Versions: 34

Compression:

Stored size: 648 Bytes

Contents

Recursively replaces text.

Verbosely tells you everything that happens.

Non-regex.

Example

rgsub my_email@site.com my_second_email@site.com

Would replace an email recursively in a directory.

It tries to skip non-text files and hidden files.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<pre><code>
	Usage: rgsub <find> <replace> [optional list of files instead of recursive search]

	If a file is “-” or stdin, read from stdin and output to stdout.
	Options

	-r, rename files instead of replacing contents of files.
	find and replace in file and dir names instead

	-v, verbose mode

	-- Indicate end of options.

</pre></code>

Version data entries

34 entries across 34 versions & 6 rubygems

Version Path
ufos-1.0.94 ./documentation/rgsub
aliens-1.0.94 ./documentation/rgsub
freespeech-1.0.94 ./documentation/rgsub
elonmusk-1.0.94 ./documentation/rgsub
politics-1.0.94 ./documentation/rgsub
democracy-1.0.94 ./documentation/rgsub
democracy-1.0.93 ./documentation/rgsub
ufos-1.0.91 ./documentation/rgsub
aliens-1.0.91 ./documentation/rgsub
freespeech-1.0.91 ./documentation/rgsub
elonmusk-1.0.91 ./documentation/rgsub
politics-1.0.91 ./documentation/rgsub
politics-1.0.89 ./documentation/rgsub
ufos-1.0.87 ./documentation/rgsub
aliens-1.0.87 ./documentation/rgsub
freespeech-1.0.87 ./documentation/rgsub
elonmusk-1.0.87 ./documentation/rgsub
politics-1.0.87 ./documentation/rgsub
ufos-1.0.88 ./documentation/rgsub
aliens-1.0.88 ./documentation/rgsub