(command.CommandList children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Subshell child: (C {<echo>} {(SQ <'\\t'>)}) redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] ) right: <Id.Backtick_Right '`'> ) ) } {<Id.Lit_Equals '='>} {(SQ <'X\\t'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'echo='> name:echo) op: assign_op.Equal rhs: {(SQ <echo>)} spids: [92] ) ] redirects: [] ) ] spids: [58 89] ) ] else_action: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} { (DQ <X> (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Subshell child: (C {<printf>} {(SQ <'%s\\n'>)} {(SQ <'\\t'>)}) redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] ) right: <Id.Backtick_Right '`'> ) ) } {<Id.Lit_Equals '='>} {(SQ <'X\\t'>)} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'echo='> name:echo) op: assign_op.Equal rhs: {(SQ <'printf %s\\n'>)} spids: [140] ) ] redirects: [] ) ] spids: [100 137] ) ] else_action: [ (command.ShFunction name: echo_func body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple words: [{<cat>}] redirects: [ (redir op: <Id.Redir_DLess '<<'> loc: (redir_loc.Fd fd:0) arg: (redir_param.HereDoc here_begin: {<EOT>} here_end_span_id: 165 stdin_parts: [($ Id.VSub_Star '*') <'\n'>] ) ) ] more_env: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'echo='> name:echo) op: assign_op.Equal rhs: {(SQ <echo_func>)} spids: [170] ) ] redirects: [] ) ] redirects: [] ) ] redirects: [] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {<-z>} { (DQ (braced_var_sub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name ZSH_VERSION> var_name: ZSH_VERSION suffix_op: (suffix_op.Unary op:<Id.VTest_Plus _> arg_word:{<set>}) right: <Id.Right_DollarBrace '}'> ) ) } ) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_Number 0))} arms: [ (case_arm pat_list: [ {<gettext.sh>} {<Id.Lit_Star '*'> <'/gettext.sh'>} {<Id.Lit_Star '*'> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\\\'> ch: '\\' ) <gettext.sh> } ] action: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'progname='> name:progname) op: assign_op.Equal rhs: {($ Id.VSub_Number 0)} spids: [261] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'package='> name:package) op: assign_op.Equal rhs: {<gettext-runtime>} spids: [265] ) ] redirects: [] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'version='> name:version) op: assign_op.Equal rhs: {<0.19.7>} spids: [269] ) ] redirects: [] ) (command.ShFunction name: func_usage body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (C {<echo>} { (DQ <'GNU gettext shell script function library version '> ($ Id.VSub_DollarName version) ) } ) (C {<echo>} {(DQ <'Usage: . gettext.sh'>)}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name: func_version body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (C {<echo>} { (DQ ($ Id.VSub_DollarName progname) <' (GNU '> ($ Id.VSub_DollarName package) <') '> ($ Id.VSub_DollarName version) ) } ) (C {<echo>} { (DQ <'Copyright (C) 2003-2007 Free Software Foundation, Inc.\n'> < 'License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\n' > <'This is free software: you are free to change and redistribute it.\n'> <'There is NO WARRANTY, to the extent permitted by law.'> ) } ) (C {<echo>} {(DQ <'Written by'>)} {(DQ <'Bruno Haible'>)}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<test>} {($ Id.VSub_Pound '#')} {<Id.Lit_Equals '='>} {<1>}) terminator: <Id.Op_Semi _> ) ] ) action: [ (command.Case to_match: {(DQ ($ Id.VSub_Number 1))} arms: [ (case_arm pat_list: [{<--help>} {<--hel>} {<--he>} {<--h>}] action: [ (command.Sentence child: (C {<func_usage>}) terminator: <Id.Op_Semi _> ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<0>} ) ] spids: [383 397 407 -1] ) (case_arm pat_list: [ {<--version>} {<--versio>} {<--versi>} {<--vers>} {<--ver>} {<--ve>} {<--v>} ] action: [ (command.Sentence child: (C {<func_version>}) terminator: <Id.Op_Semi _> ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<0>} ) ] spids: [410 436 446 -1] ) ] redirects: [] ) ] spids: [360 371] ) ] else_action: [] redirects: [] ) (command.Simple words: [{<func_usage>}] redirects: [ (redir op: <Id.Redir_GreatAnd '1>&'> loc: (redir_loc.Fd fd:1) arg: {<2>} ) ] more_env: [] do_fork: T ) (command.ControlFlow token: <Id.ControlFlow_Exit exit> arg_word: {<1>} ) ] spids: [246 258 466 -1] ) ] redirects: [] ) ] spids: [199 214] ) ] else_action: [] redirects: [] ) (command.ShFunction name: eval_gettext body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Pipeline children: [ (C {<gettext>} {(DQ ($ Id.VSub_Number 1))}) (command.Subshell child: (command.CommandList children: [ (command.Sentence child: (C {<export>} {<PATH>} { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<envsubst>} {<--variables>} {(DQ ($ Id.VSub_Number 1))}) right: <Id.Backtick_Right '`'> ) } ) terminator: <Id.Op_Semi _> ) (C {<envsubst>} {(DQ ($ Id.VSub_Number 1))}) ] ) redirects: [] ) ] negated: F stderr_indices: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name: eval_ngettext body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Pipeline children: [ (C {<ngettext>} {(DQ ($ Id.VSub_Number 1))} {(DQ ($ Id.VSub_Number 2))} {(DQ ($ Id.VSub_Number 3))} ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child: (C {<export>} {<PATH>} { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<envsubst>} {<--variables>} {(DQ ($ Id.VSub_Number 1) <' '> ($ Id.VSub_Number 2))} ) right: <Id.Backtick_Right '`'> ) } ) terminator: <Id.Op_Semi _> ) (C {<envsubst>} {(DQ ($ Id.VSub_Number 1) <' '> ($ Id.VSub_Number 2))}) ] ) redirects: [] ) ] negated: F stderr_indices: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )