Repair CHIP headers
acf_repair_chip_headersRepair malformed CHIP headers in MAX+plus II ACF files by rewriting bare or shell-escaped names to canonical CHIP form. Preview first; set confirm:true to write and back up.
Instructions
Rewrite malformed CHIP headers (bare "CHIP " or shell-escaped names) into canonical "CHIP " form. setacf is append-only and cannot fix these itself. Preview-first; requires confirm:true to write and backs the file up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | Back up the .acf first (default true). | |
| confirm | No | Must be true to write. Without it this is a preview. | |
| project | Yes | Project name (for example "top") or an absolute path to its .acf file. A bare name is resolved against workspace, and is rejected as ambiguous if several projects share it. | |
| chipName | No | Name to use for the CHIP section. Defaults to the project name. | |
| workspace | No | Directory that a relative project name is resolved against. Defaults to MAXPLUS2_WORKSPACE, then the server working directory. |