2

Suppose patch tell me

Assume -R? [n]

in already patched source Is there a way to say n no automatically? I can use yes n|patch but i prefer a more clean solution

0

1 Answer 1

2

Look at the -f (--force) and -N (--forward) options, assuming that you use GNU patch. They may do what you want or may be insufficient with particular patches. If they are insufficient, you can use the expect utility, which can answer depending on the question.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.