(CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DIR) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(dirname)} {($ VSub_Number '$0')})]) left_token: <Left_Backtick '`'> spids: [14 18] ) } spids: [13] ) ] spids: [13] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ARCH) op: Equal rhs: { (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-m)})]) left_token: <Left_Backtick '`'> spids: [21 25] ) } spids: [20] ) ] spids: [20] ) (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:TZ) op:Equal rhs:{(UTC)} spids:[28])] spids: [28] ) terminator: <Op_Semi ';'> ) (C {(export)} {(TZ)}) (FuncDef name: check body: (BraceGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:NUM) op: Equal rhs: {($ VSub_Number '$1')} spids: [44] ) ] spids: [44] ) (C {(shift)}) (Pipeline children: [ (C {(awk)} {(SQ <'{$4 = ""; print}'>)}) (If arms: [ (if_arm cond: [ (SimpleCommand words: [{(diff)} {(-a)} {(-)} {($ VSub_Number '$1')}] redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[74])] ) ] action: [(C {(echo)} {(DQ ('ok ') ($ VSub_Name '$NUM'))})] spids: [-1 78] ) ] else_action: [(C {(echo)} {(DQ ('not ok ') ($ VSub_Name '$NUM'))})] spids: [89 100] ) ] negated: False ) ] spids: [41] ) spids: [37 40] ) (SimpleCommand words: [ {(cat)} {($ VSub_Name '$DIR') (/v1-) ($ VSub_Name '$ARCH') (-acct.in)} {($ VSub_Name '$DIR') (/v2-) ($ VSub_Name '$ARCH') (-acct.in)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(v1v2-) ($ VSub_Name '$ARCH') (-acct.in)} spids: [118] ) ] ) (SimpleCommand words: [ {(cat)} {($ VSub_Name '$DIR') (/v2-) ($ VSub_Name '$ARCH') (.out)} {($ VSub_Name '$DIR') (/v1-) ($ VSub_Name '$ARCH') (.out)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(v1v2-) ($ VSub_Name '$ARCH') (.out)} spids: [135] ) ] ) (C {(echo)} {(1..6)}) (Pipeline children: [ (C {(lastcomm)} {(-cesuS)} {(-f)} {($ VSub_Name '$DIR') (/v1-) ($ VSub_Name '$ARCH') (-acct.in)}) (C {(check)} {(1)} {($ VSub_Name '$DIR') (/v1-) ($ VSub_Name '$ARCH') (.out)}) ] negated: False ) (Pipeline children: [ (SimpleCommand words: [{(lastcomm)} {(-cesuS)} {(-f)} {(-)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name '$DIR') (/v1-) ($ VSub_Name '$ARCH') (-acct.in)} spids: [176] ) ] ) (C {(tail)} {(-r)}) (C {(check)} {(2)} {($ VSub_Name '$DIR') (/v1-) ($ VSub_Name '$ARCH') (.out)}) ] negated: False ) (Pipeline children: [ (C {(lastcomm)} {(-cesuS)} {(-f)} {($ VSub_Name '$DIR') (/v2-) ($ VSub_Name '$ARCH') (-acct.in)}) (C {(check)} {(3)} {($ VSub_Name '$DIR') (/v2-) ($ VSub_Name '$ARCH') (.out)}) ] negated: False ) (Pipeline children: [ (SimpleCommand words: [{(lastcomm)} {(-cesuS)} {(-f)} {(-)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {($ VSub_Name '$DIR') (/v2-) ($ VSub_Name '$ARCH') (-acct.in)} spids: [229] ) ] ) (C {(tail)} {(-r)}) (C {(check)} {(4)} {($ VSub_Name '$DIR') (/v2-) ($ VSub_Name '$ARCH') (.out)}) ] negated: False ) (Pipeline children: [ (C {(lastcomm)} {(-cesuS)} {(-f)} {(v1v2-) ($ VSub_Name '$ARCH') (-acct.in)}) (C {(check)} {(5)} {(v1v2-) ($ VSub_Name '$ARCH') (.out)}) ] negated: False ) (Pipeline children: [ (SimpleCommand words: [{(lastcomm)} {(-cesuS)} {(-f)} {(-)}] redirects: [ (Redir op_id: Redir_Less fd: -1 arg_word: {(v1v2-) ($ VSub_Name '$ARCH') (-acct.in)} spids: [280] ) ] ) (C {(tail)} {(-r)}) (C {(check)} {(6)} {(v1v2-) ($ VSub_Name '$ARCH') (.out)}) ] negated: False ) (C {(exit)} {(0)}) ] )