package: signing-party
reopen 319519
retitle 319519 caff: please improve the error message if can't reading
from STDIN
tag 319519 = patch
thanks
You're right, I used it with xargs. If that's a known issue why not to
document it in the man page or at least have more info in the error
message than 'errrr'?
See the patch for suggestion.
--
Regards,
Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il
Debian GNU/Linux unstable (SID)
--- /usr/bin/caff 2005-06-08 20:50:19.000000000 +0300
+++ /tmp/caff 2005-07-22 22:33:03.976144800 +0300
@@ -333,7 +333,7 @@
$answer = <STDIN>;
chomp $answer;
last if ((defined $answer) && (length $answer <= 1));
- print "grrrrrr.\n";
+ print "Error reading from STDIN (are you using caff with
xargs?).\n";
sleep 1;
};
my $result = $default;