Skip to content

Conversation

@svallebro
Copy link

fixes #21

? Console.In
: new StreamReader(options.InputFile);
using (var outWriter = options.ConsoleIn
using (var outWriter = options.ConsoleOut
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, oops. Shows how I never tested this part.

if (node.NodeType == XmlNodeType.Text)
return Regex.Replace(((XText)node).Value.Replace('\n', ' '), @"\s+", " ");

return Regex.Replace(((XText)node).Value.Replace(@" ", ""), @"^\n|[S*|\n]$","",RegexOptions.Multiline);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crud. I see your PR is based on the other PR. We'll have to resolve that first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with command argument handling --cout

2 participants