in reply to OpenBSD's patch

Does anyone have patch and not man?
$res = qx/man patch/; my $dry_option; $dry_option = '--dry-run' if($res =~ /--dry-run/); $dry_option = '--check' if($res =~ /--check/);

Replies are listed 'Best First'.
Re^2: OpenBSD's patch
by sedusedan (Pilgrim) on May 28, 2014 at 05:43 UTC
    Good idea. I'll give it a try. Thanks!
Re^2: OpenBSD's patch
by betterworld (Curate) on Jun 04, 2014 at 14:01 UTC

    There are systems that have multiple "patch" implementations installed. "man" will not always default the the right man page.