On Fri, 04 Oct 2013 09:30:04 -0700 Russ Allbery <r...@stanford.edu> wrote:
> Well, the comment indicates that I knew about this problem at some > point, but I see no sign of actually doing what the comment says it > should be doing. On the other hand, I can't figure out why that read > would fail when there's no trailing newline (it doesn't for me with > either bash or dash). Looks like it does to me (bash): $ printf "foo\n" > foo.file ; echo $? 0 $ read foo < foo.file ; echo $? 0 $ printf "foo" > foo.file ; echo $? 0 $ read foo < foo.file ; echo $? 1 -- Andrew Deason adea...@sinenomine.net _______________________________________________ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info