(command.CommandList children: [ (C {<.>} {<'./Funcs.sh'>}) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:args) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (C {<getopt>} {<b> <Id.Lit_Colon ':'> <hq>} {($ Id.VSub_Star '$*')}) ) } spids: [21] ) ] ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_QMark '$?')} {<-ne>} {<0>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<fatal>} {(DQ <'Usage: '> ($ Id.VSub_Number '$0') <' [-q] [-b <localbase>]'>)})] spids: [34 48] ) ] ) (command.ShFunction name: usage body: (BraceGroup children: [ (C {<msg>} {(DQ <'Usage: RunTest.sh [-hq] [-b <localbase>]'>)}) (C {<msg>} {(DQ <'Options:'>)}) (C {<msg>} {(DQ <' -h\t\tshow this info'>)}) (C {<msg>} {(DQ <' -b <localbase>\tlocalbase if not /usr/local'>)}) (C {<msg>} {(DQ <' -q\t\tbe quite'>)}) (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>}) ] ) ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: {(DQ )} spids: [111] ) ] ) (C {<set>} {<-->} {($ Id.VSub_DollarName '$args')}) (command.ForEach iter_name: i do_arg_iter: T body: (command.DoGroup children: [ (command.Case to_match: {(DQ ($ Id.VSub_DollarName '$i'))} arms: [ (case_arm pat_list: [{<-h>}] action: [(C {<usage>})] spids: [139 140 143 -1] ) (case_arm pat_list: [{<-b>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$options') <' '> ($ Id.VSub_DollarName '$i') <' '> ($ Id.VSub_Number '$2') ) } spids: [149] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (C {<shift>}) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [146 147 164 -1] ) (case_arm pat_list: [{<-q>}] action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:options) op: assign_op.Equal rhs: { (DQ ($ Id.VSub_DollarName '$options') <' '> ($ Id.VSub_DollarName '$i') ) } spids: [170] ) ] ) terminator: <Id.Op_Semi _> ) (C {<shift>}) ] spids: [167 168 180 -1] ) (case_arm pat_list: [{<-->}] action: [ (command.Sentence child: (C {<shift>}) terminator: <Id.Op_Semi _> ) (command.ControlFlow token:<Id.ControlFlow_Break break>) ] spids: [183 184 190 -1] ) ] ) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_sscop>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {<-u>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_sscfu>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {<-u>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_uni>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {<-u>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_cc>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {<-u>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_sscop>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_sscfu>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_uni>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {($ Id.VSub_DollarName '$options')}) ] ) ) (command.Subshell child: (command.CommandList children: [ (command.Sentence child:(C {<cd>} {<proto_cc>}) terminator:<Id.Op_Semi _>) (C {<sh>} {<'./RunTest.sh'>} {($ Id.VSub_DollarName '$options')}) ] ) ) ] )