repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add proper error handling for all final exec calls
[hband-tools.git]
/
user-tools
/
eat
blob
6e6f6b06e7dfaa2bb3377dc9e4e5d994553b0642
1
#!/bin/bash
2
3
true
<<EOF
4
=pod
5
6
=head1 NAME
7
8
eat - Read and echo back input (like cat(1)) until interrupted (ie. ignore end-of-file)
9
10
=cut
11
12
EOF
13
14
15
while
read -r -n
1024
16
do
17
printf
%
s
"
$REPLY
"
18
done