Owsed was modeled on a script on page 154 of my version of The Unix Programming Environment.
It may be on another page in a different version of the book.