ddanielr commented on issue #3367: URL: https://github.com/apache/accumulo/issues/3367#issuecomment-3250604106
The exec file is processed by the QuotedStringTokenizer after the Scanner reads the line in from the file. But doesn't have different logic for if it's a single or double slash. https://github.com/apache/accumulo/blob/52c80caa68c10e6163743c4f5218fe9eebff6e03/shell/src/main/java/org/apache/accumulo/shell/commands/QuotedStringTokenizer.java#L70-L85 I agree that standardizing on one parser like jline would be ideal but jline doesn't seem to support reading from files. It only seems to support terminals. Is the current `-f` behavior the desired behavior from accumulo 1? If so, @dlmarion had suggested changing the parser for jline which could be done in the main method of the Shell. That would potentially match the parsing behavior between jline and the Scanner used with the `execFile` and `execFileCommand`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org