add proper error handling for all final exec calls
[hband-tools.git] / user-tools / eat
blob6e6f6b06e7dfaa2bb3377dc9e4e5d994553b0642
1 #!/bin/bash
3 true <<EOF
4 =pod
6 =head1 NAME
8 eat - Read and echo back input (like cat(1)) until interrupted (ie. ignore end-of-file)
10 =cut
12 EOF
15 while read -r -n 1024
17 printf %s "$REPLY"
18 done