Damien Miller <djm@xxxxxxxxxxx> writes: > Yves Dorfsman <yves@xxxxxxxxx> writes: > > #!/bin/bash > > curl -s --compressed http://someurl.example.com/pubkeys/$1 >somefile > > cat somefile > So curl/wget aren't coping with stdout being non-blocking. Those are > bugs in curl and wget. You've got the right workaround, but just > don't use a predictable filename (i.e. use mktemp). Shouldn't 'curl ... | cat' suffice? Or even 'echo "$(curl ...)"' DES -- Dag-Erling Smørgrav - des@xxxxxx _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev