mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
Merge pull request #4262 from cakebaker/pr_remove_comment
pr: remove commented out code line
This commit is contained in:
commit
ad542965ab
1 changed files with 0 additions and 1 deletions
|
@ -470,7 +470,6 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
|
|||
fn recreate_arguments(args: &[String]) -> Vec<String> {
|
||||
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()));
|
||||
|
|
Loading…
Reference in a new issue