Merge pull request #5290 from basepi/fileseddoc

Add example for no backup to file.sed state, Fix #5202
This commit is contained in:
Thomas S Hatch 2013-05-28 15:51:10 -07:00
commit 1b1e6040af

View File

@ -1366,7 +1366,8 @@ def sed(name, before, after, limit='', backup='.bak', options='-r -e',
An optional second pattern that can limit the scope of the before
pattern.
backup : '.bak'
The extension for the backed-up version of the file before the edit.
The extension for the backed-up version of the file before the edit. If
no backups is desired, pass in the empty string: ''
options : ``-r -e``
Any options to pass to the ``sed`` command. ``-r`` uses extended
regular expression syntax and ``-e`` denotes that what follows is an