mirror of
https://github.com/sheumann/hush.git
synced 2024-12-24 12:29:47 +00:00
450a367a11
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
16 lines
183 B
Bash
Executable File
16 lines
183 B
Bash
Executable File
#!/bin/sh
|
|
|
|
func()
|
|
{
|
|
while read p; do echo "$p"; done
|
|
}
|
|
|
|
pipe_to_func()
|
|
{
|
|
# We had a NOMMU bug which caused "echo Ok |" part to be lost
|
|
echo Ok | func
|
|
}
|
|
|
|
pipe_to_func | cat
|
|
echo $?
|