repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update repository
[cmdllinux.git]
/
bash_n_examples
/
bash
/
pipe
/
_pipe_in3.sh
blob
1fb0a3c29e4ab8109970718b1aa6d0bdd3d1026e
1
proc
()
2
{
3
while
read
var
;
do
4
echo
"
$var
"
5
echo
$var
6
done
< /
dev
/
stdin
7
}
8
#set -f
9
if
[
-p
/
dev
/
stdin
];
then
10
proc
11
fi
12
echo
"*
$var
*"