Subject: standards/11221: POSIX.2: patch -i is not supported
To: None <>
From: Ben Harris <>
List: netbsd-bugs
Date: 10/14/2000 08:24:08
>Number:         11221
>Category:       standards
>Synopsis:       POSIX.2: patch -i <patchfile> is not supported
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 14 08:24:00 PDT 2000
>Originator:     Ben Harris
>Release:        2000-02-07
NetBSD cromarty 1.4X NetBSD 1.4X (CROMARTY) #9: Wed May  3 23:49:51 BST 2000
     bjh21@cromarty:/usr/src/sys/arch/macppc/compile/CROMARTY macppc

According to POSIX.2, patch -i <patchfile> should cause patch to read
patches from that file rather than from standard input.  It doesn't.

cromarty:~$ patch -i /dev/null
patch: unrecognized option `-i'
Usage: patch [options] [origfile [patchfile]] [+ [options] [origfile]]...
       [-ceEflnNRsStuv] [-b backup-ext] [-B backup-prefix] [-d directory]
       [-D symbol] [-Fmax-fuzz] [-o out-file] [-p[strip-count]]
       [-r rej-name] [-V {numbered,existing,simple}]