From 212ad777fcbcb24c5cf066455a75a0d379bfeeb7 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Wed, 4 Jan 2023 15:20:45 +0100 Subject: [PATCH] pr: remove commented out code line --- src/uu/pr/src/pr.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/uu/pr/src/pr.rs b/src/uu/pr/src/pr.rs index b93b6f5b1..fac495e70 100644 --- a/src/uu/pr/src/pr.rs +++ b/src/uu/pr/src/pr.rs @@ -470,7 +470,6 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { fn recreate_arguments(args: &[String]) -> Vec { let column_page_option = Regex::new(r"^[-+]\d+.*").unwrap(); let num_regex = Regex::new(r"^[^-]\d*$").unwrap(); - //let a_file: Regex = Regex::new(r"^[^-+].*").unwrap(); let n_regex = Regex::new(r"^-n\s*$").unwrap(); let mut arguments = args.to_owned(); let num_option = args.iter().find_position(|x| n_regex.is_match(x.trim()));