(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} { (DQ (X) (CommandSubPart command_list: (CommandList children: [ (Subshell child: (C {(echo)} {(SQ <"\\t">)}) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [73] ) ] spids: [65 71] ) ] ) left_token: <Left_Backtick "`"> spids: [64 75] ) ) } {(Lit_Other "=")} {(SQ <"X\\t">)} ) terminator: <Op_Semi ";"> ) ] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:echo) op:Equal rhs:{(SQ <echo>)} spids:[88])] spids: [88] ) ] spids: [-1 85] ) ] else_action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} { (DQ (X) (CommandSubPart command_list: (CommandList children: [ (Subshell child: (C {(printf)} {(SQ <"%s\\n">)} {(SQ <"\\t">)}) redirects: [ (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [115] ) ] spids: [103 113] ) ] ) left_token: <Left_Backtick "`"> spids: [102 117] ) ) } {(Lit_Other "=")} {(SQ <"X\\t">)} ) terminator: <Op_Semi ";"> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:echo) op: Equal rhs: {(SQ <"printf %s\\n">)} spids: [130] ) ] spids: [130] ) ] spids: [-1 127] ) ] else_action: [ (FuncDef name: echo_func body: (BraceGroup children: [ (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op_id: Redir_DLess fd: -1 body: {(DQ ($ VSub_Star "$*") ("\n"))} do_expansion: True here_end: EOT was_filled: True spids: [149] ) ] ) ] spids: [144] ) spids: [139 143] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:echo) op: Equal rhs: {(SQ <echo_func>)} spids: [158] ) ] spids: [158] ) ] spids: [136 164] ) ] spids: [93 166] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {(-z)} { (DQ (BracedVarSub token: <VSub_Name ZSH_VERSION> suffix_op: (StringUnary op_id:VTest_Plus arg_word:{(set)}) spids: [194 198] ) ) } ) terminator: <Op_Semi ";"> ) ] action: [ (Case to_match: {(DQ ($ VSub_Number "$0"))} arms: [ (case_arm pat_list: [ {(gettext.sh)} {(Lit_Other "*") (/gettext.sh)} {(Lit_Other "*") (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (gettext.sh)} ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:progname) op: Equal rhs: {($ VSub_Number "$0")} spids: [249] ) ] spids: [249] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:package) op: Equal rhs: {(gettext-runtime)} spids: [253] ) ] spids: [253] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:version) op: Equal rhs: {(0.19.7)} spids: [257] ) ] spids: [257] ) (FuncDef name: func_usage body: (BraceGroup children: [ (C {(echo)} { (DQ ("GNU gettext shell script function library version ") ($ VSub_Name "$version") ) } ) (C {(echo)} {(DQ ("Usage: . gettext.sh"))}) ] spids: [275] ) spids: [269 273] ) (FuncDef name: func_version body: (BraceGroup children: [ (C {(echo)} { (DQ ($ VSub_Name "$progname") (" (GNU ") ($ VSub_Name "$package") (") ") ($ VSub_Name "$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"))}) ] spids: [310] ) spids: [304 308] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(test)} {($ VSub_Pound "$#")} {(Lit_Other "=")} {(1)}) terminator: <Op_Semi ";"> ) ] action: [ (Case to_match: {(DQ ($ VSub_Number "$1"))} arms: [ (case_arm pat_list: [{(--help)} {(--hel)} {(--he)} {(--h)}] action: [ (Sentence child: (C {(func_usage)}) terminator: <Op_Semi ";"> ) (C {(exit)} {(0)}) ] spids: [371 385 395 -1] ) (case_arm pat_list: [ {(--version)} {(--versio)} {(--versi)} {(--vers)} {(--ver)} {(--ve)} {(--v)} ] action: [ (Sentence child: (C {(func_version)}) terminator: <Op_Semi ";"> ) (C {(exit)} {(0)}) ] spids: [398 424 434 -1] ) ] spids: [362 368 437] ) ] spids: [-1 359] ) ] spids: [-1 440] ) (SimpleCommand words: [{(func_usage)}] redirects: [(Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[445])] ) (C {(exit)} {(1)}) ] spids: [234 246 454 -1] ) ] spids: [225 231 457] ) ] spids: [-1 202] ) ] spids: [-1 459] ) (FuncDef name: eval_gettext body: (BraceGroup children: [ (Pipeline children: [ (C {(gettext)} {(DQ ($ VSub_Number "$1"))}) (Subshell child: (CommandList children: [ (Sentence child: (C {(export)} {(PATH)} { (CommandSubPart command_list: (CommandList children: [ (C {(envsubst)} {(--variables)} {(DQ ($ VSub_Number "$1"))}) ] ) left_token: <Left_Backtick "`"> spids: [492 500] ) } ) terminator: <Op_Semi ";"> ) (C {(envsubst)} {(DQ ($ VSub_Number "$1"))}) ] ) spids: [487 508] ) ] negated: False ) ] spids: [476] ) spids: [471 475] ) (FuncDef name: eval_ngettext body: (BraceGroup children: [ (Pipeline children: [ (C {(ngettext)} {(DQ ($ VSub_Number "$1"))} {(DQ ($ VSub_Number "$2"))} {(DQ ($ VSub_Number "$3"))} ) (Subshell child: (CommandList children: [ (Sentence child: (C {(export)} {(PATH)} { (CommandSubPart command_list: (CommandList children: [ (C {(envsubst)} {(--variables)} {(DQ ($ VSub_Number "$1") (" ") ($ VSub_Number "$2"))} ) ] ) left_token: <Left_Backtick "`"> spids: [551 561] ) } ) terminator: <Op_Semi ";"> ) (C {(envsubst)} {(DQ ($ VSub_Number "$1") (" ") ($ VSub_Number "$2"))}) ] ) spids: [546 571] ) ] negated: False ) ] spids: [527] ) spids: [522 526] ) ] )