Re: That's interesting
That trick never works. Years ago at a former company, there was a disk maintenance tool with the potential to be very destructive if used incorrectly. In fact, it would issue a "Are you sure? (y/n)" prompt twice.
To which customers wrote wrappers like:
dpmaint << END
y
y
END