(CommandList children: [ (C {(echo)} {(SQ <'--- multilog prints nothing with no actions'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [32 43] ) (C {(multilog)}) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog e prints to stderr'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [61 72] ) (SimpleCommand words: [{(multilog)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog inserts newline after partial final line'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (Pipeline children: [(C {(echo)} {(two)}) (C {(tr)} {(-d)} {(SQ <'\\012'>)})] negated: F ) ] ) spids: [95 116] ) (SimpleCommand words: [{(multilog)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles multiple actions'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [139 150] ) (SimpleCommand words: [{(multilog)} {(e)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles wildcard -'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [175 186] ) (SimpleCommand words: [{(multilog)} {(SQ <'-*'>)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles literal +'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [213 224] ) (SimpleCommand words: [{(multilog)} {(SQ <'-*'>)} {(SQ <'+one'>)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles fnmatch -'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [255 266] ) (SimpleCommand words: [{(multilog)} {(F)} {(SQ <'-*'>)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles fnmatch +'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (Sentence child: (C {(echo)} {(two)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(one)} {(two)}) ] ) spids: [295 313] ) (SimpleCommand words: [{(multilog)} {(F)} {(SQ <'-*'>)} {(SQ <'+*o*'>)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles long lines for stderr'>)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (C {(echo)} { ( 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678 ) } ) (SimpleCommand words: [{(multilog)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (CommandList children: [ (Sentence child: (Pipeline children: [ (C {(echo)} { ( 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 ) } ) (SimpleCommand words: [{(multilog)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (CommandList children: [ (Sentence child: (Pipeline children: [ (C {(echo)} { ( 012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 ) } ) (SimpleCommand words: [{(multilog)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (C {(echo)} {(SQ <'--- multilog handles status files'>)}) (C {(rm)} {(-f)} {(test.status)}) (CommandList children: [ (Sentence child: (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child: (C {(echo)} {(one)}) terminator: <Op_Semi ';'> ) (C {(echo)} {(two)}) ] ) spids: [416 427] ) (C {(multilog)} {(Lit_Other '=') (test.status)}) ] negated: F ) terminator: <Op_Semi ';'> ) (C {(echo)} {($ VSub_QMark '$?')}) ] ) (Pipeline children: [ (SimpleCommand words: [{(uniq)} {(-c)}] redirects: [(Redir op:<Redir_Less '<'> fd:16777215 arg_word:{(test.status)})] ) (C {(sed)} {(SQ <'s/[ \t]*[ \t]/_/g'>)}) ] negated: F ) (C {(echo)} {(SQ <'--- multilog t has the right format'>)}) (Pipeline children: [ (Subshell child: (CommandList children: [ (Sentence child:(C {(echo)} {(ONE)}) terminator:<Op_Semi ';'>) (C {(echo)} {(TWO)}) ] ) spids: [464 475] ) (SimpleCommand words: [{(multilog)} {(t)} {(e)}] redirects: [(Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)})] ) (C {(sed)} {(SQ <'s/[0-9a-f]/x/g'>)}) ] negated: F ) ] )