#!/bin/sh . test/lib.sh begin "Substitute ~ with \(ti" scdoc </dev/null test(8) _hello~_ EOF end 0 begin "Substitute ^ with \(ha" scdoc </dev/null test(8) _hello^_ EOF end 0 begin "Substitute - with \\-" scdoc </dev/null test(8) hello --world -1 long-term EOF end 0