(CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:WHAT) op:Equal rhs:{($ VSub_Number '$1')} spids:[3])] spids: [3] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:DIR) op:Equal rhs:{($ VSub_Number '$2')} spids:[6])] spids: [6] ) (C {(echo)} {($ VSub_Name '$WHAT')} {(script)} {(generation)}) (SimpleCommand words: [{(cat)} {($ VSub_Name '$WHAT') (.hh)}] redirects: [ (Redir op_id: Redir_Great fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [22] ) ] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:DATA_FILE) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(find)} {($ VSub_Name '$DIR')} {(-name)} {(DQ ('*.dat'))}) (C {(grep)} {($ VSub_Name '$WHAT')}) ] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [29 45] ) } spids: [28] ) ] spids: [28] ) (SimpleCommand words: [{(echo)} {(plot)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>)}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [54] ) ] ) (ForEach iter_name: FILE iter_words: [{($ VSub_Name '$DATA_FILE')}] do_arg_iter: F body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:LAST) op: Equal rhs: {($ VSub_Name '$FILE')} spids: [71] ) ] spids: [71] ) ] spids: [68 74] ) spids: [65 16777215] ) (C {(echo)} {(Lit_VarLike 'LAST=') ($ VSub_Name '$LAST')}) (ForEach iter_name: FILE iter_words: [{($ VSub_Name '$DATA_FILE')}] do_arg_iter: F body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {($ VSub_Name '$FILE')} {(KW_Bang '!') (Lit_Other '=')} {($ VSub_Name '$LAST')} {(Lit_Other ']')} ) ] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [112 117] ) } spids: [111] ) ] spids: [111] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [122 127] ) } spids: [121] ) ] spids: [121] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVANT) op: Equal rhs: {(bench_) (${ VSub_Name WHAT) (_)} spids: [131] ) ] spids: [131] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REDUC) op: Equal rhs: { (BracedVarSub token: <VSub_Name BASE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') ($ VSub_Name '$AVANT')} ) spids: [141 146] ) } spids: [140] ) ] spids: [140] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TITLE) op: Equal rhs: { (BracedVarSub token: <VSub_Name REDUC> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.dat)}) spids: [151 155] ) } spids: [150] ) ] spids: [150] ) (SimpleCommand words: [ {(echo)} {(DQ ("'")) ($ VSub_Name '$FILE') (DQ ("'"))} {(title)} {(DQ ("'")) ($ VSub_Name '$TITLE') (DQ ("'"))} {(DQ (',') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>))} ] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [183] ) ] ) ] spids: [16777215 108] ) ] spids: [16777215 189] ) ] spids: [91 191] ) spids: [88 16777215] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name LAST> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [194 199] ) } spids: [193] ) ] spids: [193] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [204 209] ) } spids: [203] ) ] spids: [203] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVANT) op: Equal rhs: {(bench_) (${ VSub_Name WHAT) (_)} spids: [213] ) ] spids: [213] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REDUC) op: Equal rhs: { (BracedVarSub token: <VSub_Name BASE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') ($ VSub_Name '$AVANT')}) spids: [223 228] ) } spids: [222] ) ] spids: [222] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TITLE) op: Equal rhs: { (BracedVarSub token: <VSub_Name REDUC> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.dat)}) spids: [233 237] ) } spids: [232] ) ] spids: [232] ) (SimpleCommand words: [ {(echo)} {(DQ ("'")) ($ VSub_Name '$LAST') (DQ ("'"))} {(title)} {(DQ ("'")) ($ VSub_Name '$TITLE') (DQ ("'"))} ] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [259] ) ] ) (SimpleCommand words: [{(echo)} {(set)} {(term)} {(pbm)} {(small)} {(color)}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [283] ) ] ) (SimpleCommand words: [{(echo)} {(set)} {(output)} {(DQ ("'")) ($ VSub_Name '$WHAT') (.ppm) (DQ ("'"))}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [303] ) ] ) (SimpleCommand words: [{(echo)} {(plot)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>)}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [314] ) ] ) (ForEach iter_name: FILE iter_words: [{($ VSub_Name '$DATA_FILE')}] do_arg_iter: F body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {($ VSub_Name '$FILE')} {(KW_Bang '!') (Lit_Other '=')} {($ VSub_Name '$LAST')} {(Lit_Other ']')} ) ] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [349 354] ) } spids: [348] ) ] spids: [348] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [359 364] ) } spids: [358] ) ] spids: [358] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVANT) op: Equal rhs: {(bench_) (${ VSub_Name WHAT) (_)} spids: [368] ) ] spids: [368] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REDUC) op: Equal rhs: { (BracedVarSub token: <VSub_Name BASE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') ($ VSub_Name '$AVANT')} ) spids: [378 383] ) } spids: [377] ) ] spids: [377] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TITLE) op: Equal rhs: { (BracedVarSub token: <VSub_Name REDUC> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.dat)}) spids: [388 392] ) } spids: [387] ) ] spids: [387] ) (SimpleCommand words: [ {(echo)} {(DQ ("'")) ($ VSub_Name '$FILE') (DQ ("'"))} {(title)} {(DQ ("'")) ($ VSub_Name '$TITLE') (DQ ("'"))} {(DQ (',') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>))} ] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [420] ) ] ) ] spids: [16777215 345] ) ] spids: [16777215 426] ) ] spids: [328 428] ) spids: [325 16777215] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name LAST> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [431 436] ) } spids: [430] ) ] spids: [430] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [441 446] ) } spids: [440] ) ] spids: [440] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVANT) op: Equal rhs: {(bench_) (${ VSub_Name WHAT) (_)} spids: [450] ) ] spids: [450] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REDUC) op: Equal rhs: { (BracedVarSub token: <VSub_Name BASE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') ($ VSub_Name '$AVANT')}) spids: [460 465] ) } spids: [459] ) ] spids: [459] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TITLE) op: Equal rhs: { (BracedVarSub token: <VSub_Name REDUC> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.dat)}) spids: [470 474] ) } spids: [469] ) ] spids: [469] ) (SimpleCommand words: [ {(echo)} {(DQ ("'")) ($ VSub_Name '$LAST') (DQ ("'"))} {(title)} {(DQ ("'")) ($ VSub_Name '$TITLE') (DQ ("'"))} ] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [496] ) ] ) (SimpleCommand words: [{(echo)} {(set)} {(term)} {(jpeg)} {(large)}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [512] ) ] ) (SimpleCommand words: [{(echo)} {(set)} {(output)} {(DQ ("'")) ($ VSub_Name '$WHAT') (.jpg) (DQ ("'"))}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [532] ) ] ) (SimpleCommand words: [{(echo)} {(plot)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>)}] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [543] ) ] ) (ForEach iter_name: FILE iter_words: [{($ VSub_Name '$DATA_FILE')}] do_arg_iter: F body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {($ VSub_Name '$FILE')} {(KW_Bang '!') (Lit_Other '=')} {($ VSub_Name '$LAST')} {(Lit_Other ']')} ) ] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [578 583] ) } spids: [577] ) ] spids: [577] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') (Lit_Slash /)} ) spids: [588 593] ) } spids: [587] ) ] spids: [587] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVANT) op: Equal rhs: {(bench_) (${ VSub_Name WHAT) (_)} spids: [597] ) ] spids: [597] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REDUC) op: Equal rhs: { (BracedVarSub token: <VSub_Name BASE> suffix_op: (StringUnary op_id: VOp1_DPound arg_word: {('*') ($ VSub_Name '$AVANT')} ) spids: [607 612] ) } spids: [606] ) ] spids: [606] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TITLE) op: Equal rhs: { (BracedVarSub token: <VSub_Name REDUC> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.dat)}) spids: [617 621] ) } spids: [616] ) ] spids: [616] ) (SimpleCommand words: [ {(echo)} {(DQ ("'")) ($ VSub_Name '$FILE') (DQ ("'"))} {(title)} {(DQ ("'")) ($ VSub_Name '$TITLE') (DQ ("'"))} {(DQ (',') (EscapedLiteralPart token:<Lit_EscapedChar '\\\\'>))} ] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [649] ) ] ) ] spids: [16777215 574] ) ] spids: [16777215 655] ) ] spids: [557 657] ) spids: [554 16777215] ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name LAST> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [660 665] ) } spids: [659] ) ] spids: [659] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:BASE) op: Equal rhs: { (BracedVarSub token: <VSub_Name FILE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') (Lit_Slash /)}) spids: [670 675] ) } spids: [669] ) ] spids: [669] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:AVANT) op: Equal rhs: {(bench_) (${ VSub_Name WHAT) (_)} spids: [679] ) ] spids: [679] ) terminator: <Op_Semi ';'> ) (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:REDUC) op: Equal rhs: { (BracedVarSub token: <VSub_Name BASE> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{('*') ($ VSub_Name '$AVANT')}) spids: [689 694] ) } spids: [688] ) ] spids: [688] ) terminator: <Op_Semi ';'> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TITLE) op: Equal rhs: { (BracedVarSub token: <VSub_Name REDUC> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.dat)}) spids: [699 703] ) } spids: [698] ) ] spids: [698] ) (SimpleCommand words: [ {(echo)} {(DQ ("'")) ($ VSub_Name '$LAST') (DQ ("'"))} {(title)} {(DQ ("'")) ($ VSub_Name '$TITLE') (DQ ("'"))} ] redirects: [ (Redir op_id: Redir_DGreat fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [725] ) ] ) (SimpleCommand words: [{(gnuplot)} {(-persist)}] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {($ VSub_Name '$WHAT') (.gnuplot)} spids: [736] ) ] ) (C {(rm)} {($ VSub_Name '$WHAT') (.gnuplot)}) ] )