Function oursh::program::parse_alternate [−][src]
pub fn parse_alternate<R: BufRead>(reader: R) -> Result<AlternateProgram>
Expand description
Parse a program of the alternate type.
Examples
use oursh::program::parse_alternate; parse_alternate(b"ls" as &[u8]);