Go to repository

Function replace

Returns the string for the bash command to run a replacement of text in a file or set of files within a folder.

replace({ match: 'foo', replace: 'bar', file: '*.txt' })

Parameters

Returns string

The bash command string.