//! Reading a command line as bash runs it, where the lexer alone would refuse
//! it and leave the whole line unread.
use crate;
/// Lex `command` as bash runs it. Bash ends a here-document that has no
/// delimiter line at the end of the input (with a warning) and keeps a
/// backslash that ends the input as a character; the lexer refuses both, which
/// would leave the whole line unread, so the line is lexed again with the
/// delimiter line or the backslash written out.
pub