On Wed, 10 Mar 1999, John Galt wrote: > There is a holdover command from Berkely Unix called "yes" used almost > exclusively in scripting--what it does is continuously applies yes^M (the > ^M is a representation of the return key) [wups--apparently it replies > only y now] while it's active. So what your script line > would be is yes | apt-get -d dist-upgrade, > thus the script can run an interactive program relatively > non-interactively. The only caveat here is it will ONLY reply yes^M > There is also a command called no for when you wish to reply no to any > input.
I do believe there is a switch you can feed apt-get called '-y' that essentially does the same thing. -Justin Akehurst [EMAIL PROTECTED]