(CommandList children: [ (C {(Lit_Other ':')} { (BracedVarSub token: <VSub_Name srcdir> suffix_op: (StringUnary op_id:VTest_Equals arg_word:{(.)}) spids: [5 9] ) } ) (CommandList children: [ (Sentence child: (C {(.)} {(DQ ($ VSub_Name '$srcdir') (/init.sh))}) terminator: <Op_Semi ';'> ) (C {(path_prepend_)} {(.)}) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:too_big) op: Equal rhs: {(99999999999999999999999999999999999999999999999999999999999999999999)} spids: [24] ) ] spids: [24] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(0)} spids:[27])] spids: [27] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtol)} {(1)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[47])] spids: [47] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtol)} {(-1)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[63])] spids: [63] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtol)} {(1k)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[79])] spids: [79] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtol)} {(${ VSub_Name too_big) (h)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[98])] spids: [98] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtol)} {($ VSub_Name '$too_big')}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[114])] spids: [114] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtol)} {(x)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[130])] spids: [130] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtol)} {(9x)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[146])] spids: [146] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtol)} {(010)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[162])] spids: [162] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtol)} {(MiB)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[181])] spids: [181] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(1)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[201])] spids: [201] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(-1)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[217])] spids: [217] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(1k)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[233])] spids: [233] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(${ VSub_Name too_big) (h)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[252])] spids: [252] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtoul)} {($ VSub_Name '$too_big')}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[268])] spids: [268] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(x)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[284])] spids: [284] ) ] ) (AndOr ops: [Op_DAmp] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(9x)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[300])] spids: [300] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(010)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[316])] spids: [316] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [{(test-xstrtoul)} {(MiB)}] redirects: [ (Redir op:<Redir_DGreat '>>'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_GreatAnd '2>&'> fd:2 arg_word:{(1)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[332])] spids: [332] ) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (C {(echo)} {(solaris)}) (C {(tr)} {(-d)} {(SQ <'\\r'>)}) (SimpleCommand words: [{(grep)} {(solais)}] redirects: [(Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/dev/null)})] ) ] negated: F ) terminator: <Op_Semi ';'> ) ] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:cr) op:Equal rhs:{(SQ <'\\015'>)} spids:[372])] spids: [372] ) ] spids: [16777215 369] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:cr) op:Equal rhs:{(SQ <'\\r'>)} spids:[380])] spids: [380] ) ] spids: [377 385] ) (SimpleCommand words: [{(tr)} {(-d)} {(DQ ($ VSub_Name '$cr'))}] redirects: [ (Redir op:<Redir_Less '<'> fd:16777215 arg_word:{(out)}) (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(k)}) ] more_env: [(env_pair name:LC_ALL val:{(C)} spids:[391])] ) (C {(mv)} {(k)} {(out)}) (SimpleCommand words: [{(cat)}] redirects: [ (Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(expected)}) (HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 460 stdin_parts: [ ('1->1 ()\n') ('-1->-1 ()\n') ('1k->1024 ()\n') ("invalid suffix in X argument '") (${ VSub_Name too_big) ("h'\n") ("X argument '") ($ VSub_Name '$too_big') ("' too large\n") ("invalid X argument 'x'\n") ("invalid suffix in X argument '9x'\n") ('010->8 ()\n') ('MiB->1048576 ()\n') ('1->1 ()\n') ("invalid X argument '-1'\n") ('1k->1024 ()\n') ("invalid suffix in X argument '") (${ VSub_Name too_big) ("h'\n") ("X argument '") ($ VSub_Name '$too_big') ("' too large\n") ("invalid X argument 'x'\n") ("invalid suffix in X argument '9x'\n") ('010->8 ()\n') ('MiB->1048576 ()\n') ] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(compare)} {(expected)} {(out)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(1)} spids:[470])] spids: [470] ) ] ) (C {(Exit)} {($ VSub_Name '$result')}) ] )