diff_preview
Preview changes to a file before applying them by generating a diff. Specify the file and command to simulate edits using tools like sed, perl, or awk.
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 |