no 0.3.1

no - output the string 'n' repeatedly until killed. Source: https://github.com/ramn/no
//! Output the string 'n' repeatedly until killed. The counterpart to the unix 'yes' utility.
//!
//! Install instructions:
//!
//!         cargo install no

#[macro_use]
extern crate clap;

use std::io::Write;

fn main() {
    app_from_crate!().get_matches();

    loop {
        match writeln!(std::io::stdout(), "n") {
            Err(_) => break,
            Ok(()) => (),
        }
    }
}