On 16 Nov 2015, at 02:36, Josef Stautner hello@veloc1ty.de wrote:
EOF is false of course. I mean < /dev/null of course :-)
Am 15.11.2015 um 16:28 schrieb Josef Stautner: Maybe:
echo "" | whatyouwanttodo --keygen
or
whatyouwanttodo --keygen < EOF
These alternatives will produce different outputs:
The /dev/null alternative produces no input data. The echo "" alternative produces a newline on most platforms.
Consistent "no password" passwords are another reason to have a --no-pass option.
Tim (teor)