Right at the top of the patch man page it says:
but usually just

patch <patchfile

I missed the <, my bad although that is most nonintuitive, wtf ever
happened to command argument?  If it needs to read a textfile then have it
read what I put in.

        Bri


On Tue, 7 Jan 2003, John Mills wrote:

> Freebies -
>
> On Tue, 7 Jan 2003, Brian wrote:
>
> > I downloaded the relevant patch and .asc files to /tmp this am, and then
> > execute
> >
> > patch /tmp/filedesc.patch
>
> >From 'man patch':
> =========================================================================
>        patch - apply a diff file to an original
>
> SYNOPSIS
>        patch [options] [origfile [patchfile]] [+ [options] [orig-
>        file]]...
>
>        but usually just
>
>        patch <patchfile
> ...
> =========================================================================
>
> so try:
>  patch < /tmp/filedesc.patch
>
>
> You may need to use '-p[1 2 3 ...]' depending on the relative paths to
> directory from which the patch was made and to where you are applying the
> patches. The usual indicator for this is an error message to the effect:
> 'Cannot find file <leadingpath>/<filename>. Name of file to patch:'
>
>  - John Mills
>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to