Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: OpenBSD's patch

by betterworld (Curate)
on May 26, 2014 at 13:32 UTC ( [id://1087434]=note: print w/replies, xml ) Need Help??


in reply to OpenBSD's patch

I'd try searching for the string "--dry-run" in the output of "patch --help".

Both "--help" and "--dry-run" are probably GNU specific (GNU uses double dashes). On other systems, "patch --help" will give you error messages, but will never print "--dry-run".

By the way, according to the man page, OpenBSD's patch program is derived from the one authored by Larry Wall.

Replies are listed 'Best First'.
Re^2: OpenBSD's patch
by sedusedan (Monk) on May 28, 2014 at 05:46 UTC
    Good idea. I think I'll try this instead of coriac's suggestion of using `man patch` (I'm thinking Windows where there is no 'man' by default). I hope all patch support --help :-)
      I hope all patch support --help

      There are patch programs that don't support help. Again, I am very confident that if it supports "--dry-run", then it will also support "--help".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1087434]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-18 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found