diff_preview
Preview file modifications by generating a diff output between original and updated content. Test edits using tools like sed, awk, or perl before applying changes, ensuring accuracy in file modifications.
Instructions
Preview what changes would be made by showing a diff
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Command that would make changes (e.g., "s/old/new/g") | |
file | Yes | File to preview changes for | |
tool | No | Which tool to use for the preview | perl |