(CommandList children: [ (C {(set)} {(-e)}) (CommandList children: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:common_objpfx) op: Equal rhs: {($ VSub_Number '$1')} spids: [54] ) ] spids: [54] ) terminator: <Op_Semi ';'> ) (C {(shift)}) ] ) (CommandList children: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_program_prefix_before_env) op: Equal rhs: {($ VSub_Number '$1')} spids: [60] ) ] spids: [60] ) terminator: <Op_Semi ';'> ) (C {(shift)}) ] ) (CommandList children: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:run_program_env) op: Equal rhs: {($ VSub_Number '$1')} spids: [66] ) ] spids: [66] ) terminator: <Op_Semi ';'> ) (C {(shift)}) ] ) (CommandList children: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:test_program_prefix_after_env) op: Equal rhs: {($ VSub_Number '$1')} spids: [72] ) ] spids: [72] ) terminator: <Op_Semi ';'> ) (C {(shift)}) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:lang) op:Equal rhs:{($ VSub_Star '$*')} spids:[78])] spids: [78] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:id) op: Equal rhs: { (BracedVarSub token: <VSub_Name PPID> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(100)}) spids: [83 87] ) } spids: [82] ) ] spids: [82] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:here) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(pwd)})]) left_token: <Left_Backtick '`'> spids: [90 92] ) } spids: [89] ) ] spids: [89] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(0)} spids:[98])] spids: [98] ) (ForEach iter_name: l iter_words: [{($ VSub_Name '$lang')}] do_arg_iter: F body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(0)} spids:[113])] spids: [113] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cns) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name '$l')}) (C {(sed)} {(SQ <'s/\\(.*\\)[.][^.]*/\\1/'>)}) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [118 130] ) } spids: [117] ) ] spids: [117] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [ {(${ VSub_Name test_program_prefix_before_env)} {(${ VSub_Name run_program_env)} {(Lit_VarLike 'LC_ALL=') ($ VSub_Name '$l')} {(${ VSub_Name test_program_prefix_after_env)} {(${ VSub_Name common_objpfx) (localedata/collate-test)} {($ VSub_Name '$id')} ] redirects: [ (Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {($ VSub_Name '$cns') (.in)} ) (Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.out)} ) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(1)} spids:[179])] spids: [179] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(cmp)} {(-s)} {($ VSub_Name '$cns') (.in)} {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.out)} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(1)} spids:[199])] spids: [199] ) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {($ VSub_Name '$here')} {(-eq)} {(0)}) terminator: <Op_Semi ';'> ) ] action: [(C {(echo)} {(DQ ($ VSub_Name '$l') (' collate-test OK'))})] spids: [16777215 214] ) ] else_action: [ (C {(echo)} {(DQ ($ VSub_Name '$l') (' collate-test FAIL'))}) (Pipeline children: [ (C {(diff)} {(-u)} {($ VSub_Name '$cns') (.in)} {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.out)} ) (C {(sed)} {(SQ <'s/^/ /'>)}) ] negated: F ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[259])] spids: [259] ) ] spids: [225 263] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [ {(${ VSub_Name test_program_prefix_before_env)} {(${ VSub_Name run_program_env)} {(Lit_VarLike 'LC_ALL=') ($ VSub_Name '$l')} {(${ VSub_Name test_program_prefix_after_env)} {(${ VSub_Name common_objpfx) (localedata/xfrm-test)} {($ VSub_Name '$id')} ] redirects: [ (Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {($ VSub_Name '$cns') (.in)} ) (Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.xout)} ) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(1)} spids:[313])] spids: [313] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(cmp)} {(-s)} {($ VSub_Name '$cns') (.in)} {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.xout)} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(1)} spids:[333])] spids: [333] ) ] ) (AndOr ops: [Op_DPipe] children: [ (SimpleCommand words: [ {(${ VSub_Name test_program_prefix_before_env)} {(${ VSub_Name run_program_env)} {(Lit_VarLike 'LC_ALL=') ($ VSub_Name '$l')} {(${ VSub_Name test_program_prefix_after_env)} {(${ VSub_Name common_objpfx) (localedata/xfrm-test)} {($ VSub_Name '$id')} {(-nocache)} ] redirects: [ (Redir op: <Redir_Less '<'> fd: 16777215 arg_word: {($ VSub_Name '$cns') (.in)} ) (Redir op: <Redir_Great '>'> fd: 16777215 arg_word: {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.nocache.xout) } ) ] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(1)} spids:[385])] spids: [385] ) ] ) (AndOr ops: [Op_DPipe] children: [ (C {(cmp)} {(-s)} {($ VSub_Name '$cns') (.in)} {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.nocache.xout)} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:here) op:Equal rhs:{(1)} spids:[405])] spids: [405] ) ] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {($ VSub_Name '$here')} {(-eq)} {(0)}) terminator: <Op_Semi ';'> ) ] action: [(C {(echo)} {(DQ ($ VSub_Name '$l') (' xfrm-test OK'))})] spids: [16777215 420] ) ] else_action: [ (C {(echo)} {(DQ ($ VSub_Name '$l') (' xfrm-test FAIL'))}) (Pipeline children: [ (C {(diff)} {(-u)} {($ VSub_Name '$cns') (.in)} {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.xout)} ) (C {(sed)} {(SQ <'s/^/ /'>)}) ] negated: F ) (Pipeline children: [ (C {(diff)} {(-u)} {($ VSub_Name '$cns') (.in)} {(${ VSub_Name common_objpfx) (localedata/) ($ VSub_Name '$cns') (.nocache.xout)} ) (C {(sed)} {(SQ <'s/^/ /'>)}) ] negated: F ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[488])] spids: [488] ) ] spids: [431 492] ) ] spids: [110 494] ) spids: [106 108] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{($ VSub_Name '$status')}) ] )