Re: I've been caught out

2022-01-25 Thread gene heskett
On Tuesday, January 25, 2022 7:43:10 AM EST Greg Wooledge wrote: > On Tue, Jan 25, 2022 at 09:12:52AM +0100, Urs Thuermann wrote: > > Greg Wooledge writes: > > > On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > >

Re: I've been caught out

2022-01-25 Thread tomas
On Tue, Jan 25, 2022 at 01:33:45PM +0100, Vincent Lefevre wrote: > On 2022-01-25 09:12:52 +0100, Urs Thuermann wrote: > > Greg Wooledge writes: [...] > > You can even do the somewhat easier > > > > cat ../patches/*.patch | patch -p1 > > > > which will do the same. > > Even easier (works

Re: I've been caught out

2022-01-25 Thread Greg Wooledge
On Tue, Jan 25, 2022 at 09:12:52AM +0100, Urs Thuermann wrote: > Greg Wooledge writes: > > > On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > > > > That's not how you do it. patch(1) can only accept one patch at

Re: I've been caught out

2022-01-25 Thread Vincent Lefevre
On 2022-01-25 09:12:52 +0100, Urs Thuermann wrote: > Greg Wooledge writes: > > On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > > > > That's not how you do it. patch(1) can only accept one patch at a time, > > and

Re: I've been caught out

2022-01-25 Thread Urs Thuermann
Greg Wooledge writes: > On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > > That's not how you do it. patch(1) can only accept one patch at a time, > and it expects to see it on standard input. > > for p in ../patc

Re: I've been caught out

2022-01-24 Thread gene heskett
On Monday, January 24, 2022 6:19:24 AM EST to...@tuxteam.de wrote: > On Mon, Jan 24, 2022 at 06:08:57AM -0500, gene heskett wrote: > > On Monday, January 24, 2022 5:19:13 AM EST Thomas Schmitt wrote: > > > Hi, > > > > > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > > > > patc

Re: I've been caught out

2022-01-24 Thread tomas
On Mon, Jan 24, 2022 at 03:15:17PM -0500, gene heskett wrote: [...] > And that might be the magic twanger, thank you Thomas. I'm finding it > harder and harder to think 'outside the box'. very glad if some of my wall of text helps :) take care -- tomás signature.asc Description: PGP signatu

Re: I've been caught out

2022-01-24 Thread gene heskett
On Monday, January 24, 2022 5:27:45 AM EST to...@tuxteam.de wrote: > On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > > Greetings all; > > > > I must admit its been quite a few years since the last time I used > > patch. Basck in the early 90's when the amiga was king in the > > gra

Re: I've been caught out

2022-01-24 Thread Greg Wooledge
On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch That's not how you do it. patch(1) can only accept one patch at a time, and it expects to see it on standard input. for p in ../patches/*.patch; do patch -p1 < "$p"; done

Re: I've been caught out

2022-01-24 Thread Mark Allums
On 1/24/22 05:08, gene heskett wrote: On Monday, January 24, 2022 5:19:13 AM EST Thomas Schmitt wrote: Hi, gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch patch: ../patches/0001-mm-memcg-Disable-threshold-event-handlers-on- PREEMPT.patch: extra operand man patch says p

Re: I've been caught out

2022-01-24 Thread Thomas Schmitt
Hi, gene heskett wrote: > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch I wrote: > > Does ../patches/*.patch evaluate to a single file ? gene heskett wrote: > No, its a directory with many patches. So you effectively ran something like patch -p1 ../patches/abc.patch ../p

Re: I've been caught out

2022-01-24 Thread tomas
On Mon, Jan 24, 2022 at 06:08:57AM -0500, gene heskett wrote: > On Monday, January 24, 2022 5:19:13 AM EST Thomas Schmitt wrote: > > Hi, > > > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > > > patch: ../patches/0001-mm-memcg-Disable-threshold-event-handlers-on- > > > PREEMPT.

Re: I've been caught out

2022-01-24 Thread gene heskett
On Monday, January 24, 2022 5:19:13 AM EST Thomas Schmitt wrote: > Hi, > > > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > > patch: ../patches/0001-mm-memcg-Disable-threshold-event-handlers-on- > > PREEMPT.patch: extra operand > > man patch says > >patch [options] [orig

Re: I've been caught out

2022-01-24 Thread tomas
On Mon, Jan 24, 2022 at 05:01:21AM -0500, gene heskett wrote: > Greetings all; > > I must admit its been quite a few years since the last time I used patch. > Basck in the early 90's when the amiga was king in the graphic arts. > And it then had a syntax of 'patch -p1 < path/to/patchfile' > But no

Re: I've been caught out

2022-01-24 Thread Thomas Schmitt
Hi, > gene@coyote:~/Debian-arm/linux$ patch -p1 ../patches/*.patch > patch: ../patches/0001-mm-memcg-Disable-threshold-event-handlers-on- > PREEMPT.patch: extra operand man patch says patch [options] [originalfile [patchfile]] With "patchfile" being singular i'd expect that it refuses i

I've been caught out

2022-01-24 Thread gene heskett
Greetings all; I must admit its been quite a few years since the last time I used patch. Basck in the early 90's when the amiga was king in the graphic arts. And it then had a syntax of 'patch -p1 < path/to/patchfile' But now I have a ../patch directory with 50 or so files in it, and patch is spa