Short: Next vi clone Author: Ali Gholami Rudi, Kyryl Melekhin Uploader: polluks+aminet sdf org (Stefan Haubenthal) Type: text/edit Version: 7.3 Architecture: ppc-morphos Nextvi-7.3 Usage: vi [-aemsv] [file ...] Usage: patch2vi [-arih] [-d[N]] [-o FILE] [-er TAG] [-ew TAG] [input.patch] patch2vi -e script.sh patch2vi [-ari]I [nextvi-opts...] patch2vi [-ario]E script.sh [nextvi-opts...] patch2vi [-o]co origin.sh target.sh [compat.patch|compat.sh] Converts unified diff to shell script using nextvi ex commands Input can be a unified diff or a previously generated patch2vi script -a Absolute line numbers -r Relative regex patterns instead of line numbers -i Interactive: edit patterns and ex bodies in the built-in nextvi -d Delta: re-apply previous customizations (implies -i) -d1 Delta: match by group index -d2 Delta: match by group index + deleted/inserted text or regex -d3 Delta: match by group index + entire hunk -d4 Delta: match by deleted/inserted text or regex -d5 Delta: match by entire hunk -e Execute a script with the built-in nextvi, no shell involved -E Update a script: replay it, edit, re-emit it Rest of the line is a nextvi command line; -d[N] keeps deltas With QF2=1 the hunks that missed are put back into the buffers at the line they reported, cursor parked on the first -o Write the script to FILE, atomically; may be a file this run reads. Clustered with another option it takes no FILE and updates that option's own script in place -I Edit files in the built-in nextvi, emit the edits as a script Rest of the line is a nextvi command line, EXINIT included -er Read section end tag (default: "=== END ===") -ew Write section end tag (default: "=== END ===") -co Compat patch: resolve a collision with origin.sh, ship the fix as a block after the target's, gated on origin being present; a third argument pre-applies a written fix -h Show this help