|
@@ -0,0 +1,22 @@
|
|
|
+use std::io::{self, BufRead};
|
|
|
+
|
|
|
+pub fn run() {
|
|
|
+ let stdin = io::stdin();
|
|
|
+ for line_m in stdin.lock().lines() {
|
|
|
+ let line = line_m.unwrap();
|
|
|
+ let mut split = line.split_whitespace().collect::<Vec<&str>>();
|
|
|
+ run_command(split);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+fn run_command(cmd: Vec<&str>) {
|
|
|
+ println!("{}", cmd[0]);
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|