* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Update Tool

Copy over a new version of a file only if there are changes.
Version: 0.34
Home | Changelog | Code | Download | Checksums | | Copyright

update - conditionally update target file.

update reads input from a pipe or file and saves it to a target (FILE) if there are changes. If the new content is the same as the old, the target is left untouched. By default, the target is also left untouched if the new content is empty. There are options to also abstain from applying an update if the changes are too large, and to back up the previous version.

The purpose is to handle files with dynamically generated content in such a manner that timestamps don't change if the content doesn't change, and mistakes in content generation doesn't unnecessarily propa- gate to the target.


System Message: ERROR/3 (<stdin>, line 25)

Unexpected indentation.
Henrik Levkowetz <henrik@levkowetz.com>

Latest update: 2009-10-14 03:39 PDT - webmaster@tools.ietf.org