(command.CommandList children: [ (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LANG) op: assign_op.Equal rhs: {(C)} spids: [109] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:111) ) (C {(export)} {(LANG)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LC_ALL) op: assign_op.Equal rhs: {(C)} spids: [117] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:119) ) (C {(export)} {(LC_ALL)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LC_CTYPE) op: assign_op.Equal rhs: {(C)} spids: [125] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:127) ) (C {(export)} {(LC_CTYPE)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LANGUAGE) op: assign_op.Equal rhs: {(C)} spids: [133] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:135) ) (C {(export)} {(LANGUAGE)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:SOURCE) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [142] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:144) ) (C {(shift)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TARGET) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [148] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:150) ) (C {(shift)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BINARY) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [154] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:156) ) (C {(shift)}) ] ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:PACKAGE) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [160] ) ] ) terminator: (Token id:Id.Op_Semi val:';' span_id:162) ) (C {(shift)}) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CHR_LEAD) op: assign_op.Equal rhs: { (command_sub left_token: (Token id:Id.Left_Backtick val:'`' span_id:168) command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {(DQ ($ Id.VSub_DollarName '$BINARY'))}) (C {(sed)} {(-e)} {(SQ (Token id:Id.Lit_Chars val:'s/^\\(.\\).*/\\1/' span_id:190))} ) ] negated: F ) ] ) ) } spids: [167] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:CHR_TAIL) op: assign_op.Equal rhs: { (command_sub left_token: (Token id:Id.Left_Backtick val:'`' span_id:195) command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {(DQ ($ Id.VSub_DollarName '$BINARY'))}) (C {(sed)} {(-e)} {(SQ (Token id:Id.Lit_Chars val:'s/^.//' span_id:211))}) ] negated: F ) ] ) ) } spids: [194] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ONE_CAPS) op: assign_op.Equal rhs: { (command_sub left_token: (Token id:Id.Left_Backtick val:'`' span_id:216) command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {($ Id.VSub_DollarName '$CHR_LEAD')}) (C {(tr)} {(SQ (Token id:Id.Lit_Chars val:'[a-z]' span_id:228))} {(SQ (Token id:Id.Lit_Chars val:'[A-Z]' span_id:232))} ) ] negated: F ) ] ) ) ($ Id.VSub_DollarName '$CHR_TAIL') } spids: [215] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:ALL_CAPS) op: assign_op.Equal rhs: { (command_sub left_token: (Token id:Id.Left_Backtick val:'`' span_id:238) command_list: (command.CommandList children: [ (command.Pipeline children: [ (C {(echo)} {(DQ ($ Id.VSub_DollarName '$BINARY'))}) (C {(tr)} {(SQ (Token id:Id.Lit_Chars val:'[a-z]' span_id:252))} {(SQ (Token id:Id.Lit_Chars val:'[A-Z]' span_id:256))} ) ] negated: F ) ] ) ) } spids: [237] ) ] ) (command.Simple words: [ {(sed)} {(-e)} { (DQ ('s,^') (Id.Lit_Other '\\') ('.ds p dialog') (Id.Lit_Other '\\') ('>,.ds p ') ($ Id.VSub_DollarName '$BINARY') (',') ) } {(-e)} { (DQ ('s,^') (Id.Lit_Other '\\') ('.ds l dialog') (Id.Lit_Other '\\') ('>,.ds l ') ($ Id.VSub_DollarName '$PACKAGE') (',') ) } {(-e)} { (DQ ('s,^') (Id.Lit_Other '\\') ('.ds L Dialog') (Id.Lit_Other '\\') ('>,.ds L ') ($ Id.VSub_DollarName '$ONE_CAPS') (',') ) } {(-e)} { (DQ ('s,^') (Id.Lit_Other '\\') ('.ds D DIALOG') (Id.Lit_Other '\\') ('>,.ds D ') ($ Id.VSub_DollarName '$ALL_CAPS') (',') ) } {(-e)} {(SQ (Token id:Id.Lit_Chars val:'s,^dialog \\\\- ,' span_id:322)) (DQ ($ Id.VSub_DollarName '$PACKAGE')) (SQ (Token id:Id.Lit_Chars val:' \\\\- ,' span_id:328)) } ] redirects: [ (redir.Redir op: (Token id:Id.Redir_Less val:'<' span_id:333) fd: -1 arg_word: {($ Id.VSub_DollarName '$SOURCE')} ) (redir.Redir op: (Token id:Id.Redir_Great val:'>' span_id:336) fd: -1 arg_word: {(source.tmp)} ) ] ) (C {(DQ ($ Id.VSub_At '$@'))} {(source.tmp)} {($ Id.VSub_DollarName '$TARGET')}) (C {(rm)} {(-f)} {(source.tmp)}) ] )