<commit_before>use std::io::Error;

// Parsing command line arguments from singe line.
// See also: http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
pub fn parse(cmd: &str) -> Result<Vec<String>, Error> {
    let mut args: Vec<String> = Vec::new();
    let mut arg: String = String::new();
    let mut slash: usize = 0;
    let mut quote = false;
    let mut data = false;
    for c in cmd.chars() {
        match c {
            ' ' | '\t' => {
                arg = add_slashes(arg,
                                  if quote && ((slash % 2) == 0) {
                                      slash / 2
                                  } else {
                                      slash
                                  });
                slash = 0;
                if quote {
                    arg.push(c);
                    data = true;<commit_msg>Fix parsing multiline arguments file<commit_after>use std::io::Error;

// Parsing command line arguments from singe line.
// See also: http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
pub fn parse(cmd: &str) -> Result<Vec<String>, Error> {
    let mut args: Vec<String> = Vec::new();
    let mut arg: String = String::new();
    let mut slash: usize = 0;
    let mut quote = false;
    let mut data = false;
    for c in cmd.chars() {
        match c {
            ' ' | '\t' | '\n' | '\r' => {
                arg = add_slashes(arg,
                                  if quote && ((slash % 2) == 0) {
                                      slash / 2
                                  } else {
                                      slash
                                  });
                slash = 0;
                if quote {
                    arg.push(c);
                    data = true;
{'fraction_non_alphanumeric': 0.11938601478112564, 'fraction_numerical': 0.009096077316657191, 'mean_word_length': 1.0536756126021003, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7442924', 'n_tokens_mistral': 508, 'n_tokens_neox': 462, 'n_words': 137}