duct 0.13.3

a library for running child processes
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![deny(warnings)]

use std::io::prelude::*;
use std::io::{stdin, stdout};

fn main() {
    let mut input: String = String::new();
    stdin().read_to_string(&mut input).unwrap();
    let output = input.replace('x', "y");
    stdout().write_all(output.as_ref()).unwrap();
}