(command.CommandList children: [ (command.CommandList children: [ (command.Sentence child: (C {<.>} { (DQ (braced_var_sub token: <Id.VSub_Name srcdir> suffix_op: (suffix_op.Unary op_id:Id.VTest_Equals arg_word:{<.>}) ) <'/tests/init.sh'> ) } ) terminator: <Id.Op_Semi _> ) (C {<path_prepend_>} {<'./src'>}) ] ) (C {<print_ver_>} {<csplit>}) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<echo>} {<a>}) terminator:<Id.Op_Semi _>) (command.Sentence child:(C {<echo>}) terminator:<Id.Op_Semi _>) (C {<echo>}) ] ) redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {(SQ <'/^$/'>)} {<2>}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>})] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [101] ) ] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 117 stdin_parts: [<'2\n'> <'0\n'> <'2\n'>] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<exp>}) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<exp>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [126] ) ] ) ] ) (C {<rm>} {<-f>} {<Id.KW_In in>} {<out>} {<exp>}) (command.Simple words: [{<printf>} {(SQ <'\\n\\n'>)}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<exp>})] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<cp>} {<xx02>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [164] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<exp>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [175] ) ] ) ] ) (C {<rm>} {<-f>} {<Id.KW_In in>} {<out>} {<exp>}) (command.Subshell child: (command.CommandList children: [(command.Sentence child:(C {<echo>}) terminator:<Id.Op_Semi _>) (C {<echo>} {<a>})] ) redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {(SQ <'/a/-1'>)} {(SQ <'{*}'>)}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>})] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [223] ) ] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 238 stdin_parts: [<'0\n'> <'3\n'>] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<exp>}) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<exp>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [247] ) ] ) ] ) (C {<rm>} {<-f>} {<Id.KW_In in>} {<out>} {<exp>}) (command.Simple words: [{<echo>}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {<1>} {<1>}] redirects: [ (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>}) (redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<err>}) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [288] ) ] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 304 stdin_parts: [<'0\n'> <'0\n'> <'1\n'>] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<exp>}) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<exp>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [313] ) ] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'>) <OF>} here_end_span_id: 327 stdin_parts: [ <'csplit: warning: line number \'1\' is the same as preceding line number\n'> ] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<experr>}) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<experr>} {<err>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [336] ) ] ) ] ) (C {<rm>} {<-f>} {<Id.KW_In in>} {<out>} {<exp>} {<err>} {<experr>}) (command.Simple words: [{<echo>}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<csplit>} {<-b>} {(SQ <'%0#6.3x'>)} {<Id.KW_In in>} {<1>}] redirects: [ (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>}) (redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<err>}) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [388] ) ] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOF>} here_end_span_id: 403 stdin_parts: [<'0\n'> <'1\n'>] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<exp>}) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<exp>} {<out>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [412] ) ] ) ] ) (C {<touch>} {<experr>}) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<experr>} {<err>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [427] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {(SQ <'xx 000'>)} {<experr>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [440] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {(SQ <'xx 0x001'>)} {<Id.KW_In in>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [453] ) ] ) ] ) (C {<rm>} {<-f>} {<Id.KW_In in>} {<out>} {<exp>} {<err>} {<experr>} {<xx> <Id.Lit_Star '*'>}) (command.Simple words: [{<echo>}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})] do_fork: T ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {<0>}] redirects: [ (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>}) (redir op:<Id.Redir_Great '2>'> loc:(redir_loc.Fd fd:2) arg:{<err>}) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [499] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {<2>} {<1>}] redirects: [ (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>}) (redir op:<Id.Redir_DGreat '2>>'> loc:(redir_loc.Fd fd:2) arg:{<err>}) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [520] ) ] ) ] ) (command.AndOr ops: [Id.Op_DAmp] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {<3>} {<3>}] redirects: [ (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<out>}) (redir op:<Id.Redir_DGreat '2>>'> loc:(redir_loc.Fd fd:2) arg:{<err>}) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [541] ) ] ) ] ) (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\E'>) <OF>} here_end_span_id: 558 stdin_parts: [ <'csplit: 0: line number must be greater than zero\n'> <'csplit: line number \'1\' is smaller than preceding line number, 2\n'> <'csplit: warning: line number \'3\' is the same as preceding line number\n'> <'csplit: \'3\': line number out of range\n'> ] ) ) (redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<experr>}) ] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<compare>} {<experr>} {<err>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [567] ) ] ) ] ) (C {<rm>} {<-f>} {<Id.KW_In in>} {<out>} {<exp>} {<err>} {<experr>} {<xx> <Id.Lit_QMark '?'> <Id.Lit_QMark '?'>} ) (command.Simple words: [{<printf>} {(SQ <'x%8199s\\nx\\n%8199s\\nx\\n'>)} {<x>} {<x>}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<Id.KW_In in>})] do_fork: T ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Simple words: [{<csplit>} {<Id.KW_In in>} {(SQ <'/x\\{1\\}/'>)} {(SQ <'{*}'>)}] redirects: [(redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>})] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [633] ) ] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (command.Pipeline children: [ (C {<cat>} {<xx> <Id.Lit_QMark '?'> <Id.Lit_QMark '?'>}) (C {<compare>} {<->} {<Id.KW_In in>}) ] negated: F ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:fail) op: assign_op.Equal rhs: {<1>} spids: [652] ) ] ) ] ) (C {<Exit>} {($ Id.VSub_DollarName '$fail')}) ] )