blob: ac82a6a115a30e39acb220ed02f20219e03caf3c [file] [log] [blame]
#!/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 $?