l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Sep 16 10:45

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] patch question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] patch question

On Thu, Sep 12, 2002 at 05:10:45PM -0700, Peter Jay Salzman wrote:
> hola,
> is there an application that will patch a file using diff, but will:
> 0. show the next hunk
> 1. show old and replacement text (with context)
> 2. ask if you want to accept the change
> 3. either patch the file or toss the hunk
> 4. repeat for each hunk
> i'd prefer something ncurses based so i don't have to start X to use the
> application.

TkDiff does almost what you want. It requires X and works on the two starting
files using its own internal diff workalike, not the starting file and the
diff, but otherwise is exactly what you want. Obviously one could make a
wrapper script to patch a copy of the starting file and invoke tkdiff

TkDiff is in Debian.

Henry House
The attached file is a digital signature. See <http://romana.hajhouse.org/pgp>
for information.  My OpenPGP key: <http://romana.hajhouse.org/hajhouse.asc>.

Attachment: pgp00002.pgp
Description: PGP signature

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!