Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Prefermenu - Height also configurable with this patch



On Tue, May 06, 2003 at 08:47:55AM +0200, Ralf Klueber wrote:
> > Example: You want to change the file "menu.c"
> >
> > $ cp menu.c menu.c.orig
> > $ vi menu.c
> > $ diff -ub menu.c.orig menu.c > menu.patch
> >
> > Thats all.
>
> OK, thats clear. But is there a way to combine the patches of two
> different source files withing one single patch? Is it as simple as I
> would expect. Piping the Output in one single file?
>
> $ diff -ub menu.c.orig menu.c > menu.patch
> $ diff -ub whatever.c.orig whatever.c >> menu.patch

$ cd PLUGINS/src
$ cp -a prefermenu prefermenu.orig
$ vi ... many files in prefermenu ...
$ diff -ub prefermenu.orig prefermenu > prefermenu.patch

If there are subdirectories in prefermenu you could add "-r" to the diff cmd,
if you add new files you could add "-N" to the diff cmd.

("man diff" know it all)

Ciao,
Andreas
--
Andreas Kool (akool@akool.de * akool@isdn4linux.de * http://www.akool.de)
PGP: 3FBF2411 Fingerprint: B5 35 34 74 25 60 2A 7A  89 06 92 C4 08 BA A5 BD
(To get my PGP key, send me a mail with subject "send pgp key")
		X <-- Nail here for a new Monitor
Transmission of this message via the Microsoft Network is prohibited


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index