Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244501

I've been caught out

From gene heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject I've been caught out
Date 2022-01-24 11:10 +0100
Message-ID <DJ4sq-3Wj-3@gated-at.bofh.it> (permalink)
Organization only accidental

Show all headers | View raw


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 spanking me, starting with an ambiguous redirect if the < is used,  
And while it finds the patch file without it, its reporting an extra 
operand. So whats todays syntax for a ../dir full of patches?

Example:
gene@coyote:~/Debian-arm/linux$ patch -p1  ../patches/*.patch
patch: ../patches/0001-mm-memcg-Disable-threshold-event-handlers-on-
PREEMPT.patch: extra operand

And the man page doesn't address the 'extra operand' error.

Thanks all.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

I've been caught out gene heskett <gheskett@shentel.net> - 2022-01-24 11:10 +0100
  Re: I've been caught out "Thomas Schmitt" <scdbackup@gmx.net> - 2022-01-24 11:30 +0100
    Re: I've been caught out gene heskett <gheskett@shentel.net> - 2022-01-24 12:10 +0100
      Re: I've been caught out <tomas@tuxteam.de> - 2022-01-24 12:20 +0100
        Re: I've been caught out gene heskett <gheskett@shentel.net> - 2022-01-24 21:40 +0100
      Re: I've been caught out "Thomas Schmitt" <scdbackup@gmx.net> - 2022-01-24 12:40 +0100
      Re: I've been caught out Mark Allums <mark@allums.email> - 2022-01-24 13:20 +0100
  Re: I've been caught out <tomas@tuxteam.de> - 2022-01-24 11:30 +0100
    Re: I've been caught out <tomas@tuxteam.de> - 2022-01-24 21:40 +0100
    Re: I've been caught out gene heskett <gheskett@shentel.net> - 2022-01-24 21:40 +0100
  Re: I've been caught out Greg Wooledge <greg@wooledge.org> - 2022-01-24 13:50 +0100
    Re: I've been caught out Urs Thuermann <urs@isnogud.escape.de> - 2022-01-25 09:20 +0100
      Re: I've been caught out Vincent Lefevre <vincent@vinc17.net> - 2022-01-25 13:50 +0100
        Re: I've been caught out <tomas@tuxteam.de> - 2022-01-25 14:10 +0100
      Re: I've been caught out Greg Wooledge <greg@wooledge.org> - 2022-01-25 13:50 +0100
        Re: I've been caught out gene heskett <gheskett@shentel.net> - 2022-01-25 18:00 +0100

csiph-web