How can I autoconfirm with Y on a Compile?

Let’s say at the end of Compile I get question of y to confirm certain thing.
How can I automate this, so that answer is automatically y every time I Compile?

root@LiveCD ~]Compile Docbook-xml-dtd --no-dependencies
Already up to date.
Compile: Compiling DocBook-XML-DTD version 4.5.
Compile: Running without dependency-based namespace (Runner not available).
--2021-08-11 09:33:50--  http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
Resolving www.docbook.org (www.docbook.org)... 138.197.188.142, 206.189.58.26
Connecting to www.docbook.org (www.docbook.org)|138.197.188.142|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.docbook.org/xml/4.5/docbook-xml-4.5.zip [following]
--2021-08-11 09:33:51--  https://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
Connecting to www.docbook.org (www.docbook.org)|138.197.188.142|:443... connected.
GnuTLS: Resource temporarily unavailable, try again.
GnuTLS: Resource temporarily unavailable, try again.
GnuTLS: Resource temporarily unavailable, try again.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://docbook.org/xml/4.5/docbook-xml-4.5.zip [following]
--2021-08-11 09:33:51--  https://docbook.org/xml/4.5/docbook-xml-4.5.zip
Resolving docbook.org (docbook.org)... 159.65.118.56, 167.99.246.105
Connecting to docbook.org (docbook.org)|159.65.118.56|:443... connected.
GnuTLS: Resource temporarily unavailable, try again.
GnuTLS: Resource temporarily unavailable, try again.
GnuTLS: Resource temporarily unavailable, try again.
HTTP request sent, awaiting response... 200 OK
Length: 98497 (96K) [application/zip]
Saving to: 'docbook-xml-4.5.zip'

docbook-xml-4.5.zip                                  100%[======================================================================================================================>]  96.19K  --.-KB/s    in 0.1s    

2021-08-11 09:33:51 (927 KB/s) - 'docbook-xml-4.5.zip' saved [98497/98497]

Compile: Unpacking file /Data/Compile/Archives/docbook-xml-4.5.zip...
Compile: Making a safe copy of installed version |
Compile: Asserting that requirements are met...
Compile: Installing docbook.cat into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'docbook.cat' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./docbook.cat'
Compile: Installing calstblx.dtd into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'calstblx.dtd' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./calstblx.dtd'
Compile: Installing docbookx.dtd into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'docbookx.dtd' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./docbookx.dtd'
Compile: Installing soextblx.dtd into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'soextblx.dtd' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./soextblx.dtd'
Compile: Installing dbcentx.mod into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'dbcentx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./dbcentx.mod'
Compile: Installing dbgenent.mod into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'dbgenent.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./dbgenent.mod'
Compile: Installing dbhierx.mod into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'dbhierx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./dbhierx.mod'
Compile: Installing dbnotnx.mod into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'dbnotnx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./dbnotnx.mod'
Compile: Installing dbpoolx.mod into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'dbpoolx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./dbpoolx.mod'
Compile: Installing htmltblx.mod into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/.
'htmltblx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/./htmltblx.mod'
Compile: Installing ent into /Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent
'ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent'
'ent/README' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/README'
'ent/isoamsa.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsa.ent'
'ent/isoamsb.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsb.ent'
'ent/isoamsc.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsc.ent'
'ent/isoamsn.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsn.ent'
'ent/isoamso.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamso.ent'
'ent/isoamsr.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsr.ent'
'ent/isobox.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isobox.ent'
'ent/isocyr1.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isocyr1.ent'
'ent/isocyr2.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isocyr2.ent'
'ent/isodia.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isodia.ent'
'ent/isogrk1.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk1.ent'
'ent/isogrk2.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk2.ent'
'ent/isogrk3.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk3.ent'
'ent/isogrk4.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk4.ent'
'ent/isolat1.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isolat1.ent'
'ent/isolat2.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isolat2.ent'
'ent/isonum.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isonum.ent'
'ent/isopub.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isopub.ent'
'ent/isotech.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isotech.ent'
Compile: Stripping executables...
'calstblx.dtd' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/calstblx.dtd'
'docbookx.dtd' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/docbookx.dtd'
'soextblx.dtd' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/soextblx.dtd'
'ent/README' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/README'
'ent/isoamsa.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsa.ent'
'ent/isoamsb.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsb.ent'
'ent/isoamsc.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsc.ent'
'ent/isoamsn.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsn.ent'
'ent/isoamso.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamso.ent'
'ent/isoamsr.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isoamsr.ent'
'ent/isobox.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isobox.ent'
'ent/isocyr1.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isocyr1.ent'
'ent/isocyr2.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isocyr2.ent'
'ent/isodia.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isodia.ent'
'ent/isogrk1.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk1.ent'
'ent/isogrk2.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk2.ent'
'ent/isogrk3.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk3.ent'
'ent/isogrk4.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isogrk4.ent'
'ent/isolat1.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isolat1.ent'
'ent/isolat2.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isolat2.ent'
'ent/isonum.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isonum.ent'
'ent/isopub.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isopub.ent'
'ent/isotech.ent' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/ent/isotech.ent'
'dbcentx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/dbcentx.mod'
'dbgenent.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/dbgenent.mod'
'dbhierx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/dbhierx.mod'
'dbnotnx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod'
'dbpoolx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod'
'htmltblx.mod' -> '/Programs/DocBook-XML-DTD/4.5/share/xml/docbook/xml-dtd-4.5/htmltblx.mod'
UpdateSettings: Current and default settings match
SymlinkProgram: Symlinking DocBook-XML-DTD 4.5.
SymlinkProgram: Symlinking global settings...
SymlinkProgram: Symlinking tasks...
SymlinkProgram: Storing variable files...
SymlinkProgram: Symlinking libraries...
SymlinkProgram: Updating library database (ldconfig)...
SymlinkProgram: Symlinking headers...
SymlinkProgram: Symlinking info...
SymlinkProgram: Updating info dir...
SymlinkProgram: Symlinking manuals...
SymlinkProgram: Symlinking executables...
SymlinkProgram: Symlinking wrappers...
SymlinkProgram: Symlinking libexec..
SymlinkProgram: Symlinking shared...
SymlinkProgram: Processed 2 files.
SymlinkProgram: The program wishes to install files to these unmanaged locations:
/Data/Variable/lib/xml
SymlinkProgram: Do you want to install the unmanaged files? [Y/n]
y

Compile --batch should do that for you.

1 Like

Alright it will help out for now.
But what if I want to autoconfirm as N.
Or there are more prompts for Y or N.
I feel like there will be a need to select the behavior in the future,
if there is no such functionality yet.