(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:WHAT) op: assign_op.Equal rhs: {($ Id.VSub_Number '$1')} spids: [3] ) ] ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:DIR) op: assign_op.Equal rhs: {($ Id.VSub_Number '$2')} spids: [6] ) ] ) (C {<echo>} {($ Id.VSub_DollarName '$WHAT')} {<script>} {<generation>}) (command.Simple words: [{<cat>} {($ Id.VSub_DollarName '$WHAT') <.hh>}] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:DATA_FILE) op: assign_op.Equal rhs: { (command_sub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (C {<find>} {($ Id.VSub_DollarName '$DIR')} {<-name>} {(DQ <'*.dat'>)}) (C {<grep>} {($ Id.VSub_DollarName '$WHAT')}) ] negated: F ) ) } spids: [28] ) ] ) (command.Simple words: [{<echo>} {<plot>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.ForEach iter_name: FILE iter_words: [{($ Id.VSub_DollarName '$DATA_FILE')}] do_arg_iter: F body: (command.DoGroup children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:LAST) op: assign_op.Equal rhs: {($ Id.VSub_DollarName '$FILE')} spids: [73] ) ] ) ] ) ) (C {<echo>} {<Id.Lit_VarLike 'LAST='> ($ Id.VSub_DollarName '$LAST')}) (command.ForEach iter_name: FILE iter_words: [{($ Id.VSub_DollarName '$DATA_FILE')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$FILE')} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {($ Id.VSub_DollarName '$LAST')} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [113] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [123] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:AVANT) op: assign_op.Equal rhs: {<bench_> (${ Id.VSub_Name WHAT) <Id.Lit_Underscore _>} spids: [133] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REDUC) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name BASE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName '$AVANT')} ) ) } spids: [142] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TITLE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name REDUC> suffix_op: (suffix_op.Unary tok: <Id.VOp1_Percent '%'> arg_word: {<.dat>} ) ) } spids: [152] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'\''>) ($ Id.VSub_DollarName '$FILE') (DQ <'\''>)} {<title>} {(DQ <'\''>) ($ Id.VSub_DollarName '$TITLE') (DQ <'\''>)} {(DQ <','> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>))} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) ] spids: [96 110] ) ] ) ] ) ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name LAST> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [195] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [205] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:AVANT) op: assign_op.Equal rhs: {<bench_> (${ Id.VSub_Name WHAT) <Id.Lit_Underscore _>} spids: [215] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REDUC) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name BASE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName '$AVANT')} ) ) } spids: [224] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TITLE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name REDUC> suffix_op: (suffix_op.Unary tok:<Id.VOp1_Percent '%'> arg_word:{<.dat>}) ) } spids: [234] ) ] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'\''>) ($ Id.VSub_DollarName '$LAST') (DQ <'\''>)} {<title>} {(DQ <'\''>) ($ Id.VSub_DollarName '$TITLE') (DQ <'\''>)} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<echo>} {<set>} {<term>} {<pbm>} {<small>} {<color>}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<echo>} {<set>} {<output>} {(DQ <'\''>) ($ Id.VSub_DollarName '$WHAT') <.ppm> (DQ <'\''>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<echo>} {<plot>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.ForEach iter_name: FILE iter_words: [{($ Id.VSub_DollarName '$DATA_FILE')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$FILE')} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {($ Id.VSub_DollarName '$LAST')} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [350] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [360] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:AVANT) op: assign_op.Equal rhs: {<bench_> (${ Id.VSub_Name WHAT) <Id.Lit_Underscore _>} spids: [370] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REDUC) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name BASE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName '$AVANT')} ) ) } spids: [379] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TITLE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name REDUC> suffix_op: (suffix_op.Unary tok: <Id.VOp1_Percent '%'> arg_word: {<.dat>} ) ) } spids: [389] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'\''>) ($ Id.VSub_DollarName '$FILE') (DQ <'\''>)} {<title>} {(DQ <'\''>) ($ Id.VSub_DollarName '$TITLE') (DQ <'\''>)} {(DQ <','> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>))} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) ] spids: [333 347] ) ] ) ] ) ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name LAST> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [432] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [442] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:AVANT) op: assign_op.Equal rhs: {<bench_> (${ Id.VSub_Name WHAT) <Id.Lit_Underscore _>} spids: [452] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REDUC) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name BASE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName '$AVANT')} ) ) } spids: [461] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TITLE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name REDUC> suffix_op: (suffix_op.Unary tok:<Id.VOp1_Percent '%'> arg_word:{<.dat>}) ) } spids: [471] ) ] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'\''>) ($ Id.VSub_DollarName '$LAST') (DQ <'\''>)} {<title>} {(DQ <'\''>) ($ Id.VSub_DollarName '$TITLE') (DQ <'\''>)} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<echo>} {<set>} {<term>} {<jpeg>} {<large>}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<echo>} {<set>} {<output>} {(DQ <'\''>) ($ Id.VSub_DollarName '$WHAT') <.jpg> (DQ <'\''>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<echo>} {<plot>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>)}] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.ForEach iter_name: FILE iter_words: [{($ Id.VSub_DollarName '$DATA_FILE')}] do_arg_iter: F body: (command.DoGroup children: [ (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (C {<Id.Lit_LBracket '['>} {($ Id.VSub_DollarName '$FILE')} {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {($ Id.VSub_DollarName '$LAST')} {<Id.Lit_RBracket ']'>} ) ] ) action: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [579] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [589] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:AVANT) op: assign_op.Equal rhs: {<bench_> (${ Id.VSub_Name WHAT) <Id.Lit_Underscore _>} spids: [599] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REDUC) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name BASE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName '$AVANT')} ) ) } spids: [608] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TITLE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name REDUC> suffix_op: (suffix_op.Unary tok: <Id.VOp1_Percent '%'> arg_word: {<.dat>} ) ) } spids: [618] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'\''>) ($ Id.VSub_DollarName '$FILE') (DQ <'\''>)} {<title>} {(DQ <'\''>) ($ Id.VSub_DollarName '$TITLE') (DQ <'\''>)} {(DQ <','> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'>))} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) ] spids: [562 576] ) ] ) ] ) ) (command.CommandList children: [ (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name LAST> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [661] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:BASE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name FILE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> <Id.Lit_Slash '/'>} ) ) } spids: [671] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:AVANT) op: assign_op.Equal rhs: {<bench_> (${ Id.VSub_Name WHAT) <Id.Lit_Underscore _>} spids: [681] ) ] ) terminator: <Id.Op_Semi _> ) (command.Sentence child: (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:REDUC) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name BASE> suffix_op: (suffix_op.Unary tok: <Id.VOp1_DPound '##'> arg_word: {<Id.Lit_Other '*'> ($ Id.VSub_DollarName '$AVANT')} ) ) } spids: [690] ) ] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:TITLE) op: assign_op.Equal rhs: { (braced_var_sub token: <Id.VSub_Name REDUC> suffix_op: (suffix_op.Unary tok:<Id.VOp1_Percent '%'> arg_word:{<.dat>}) ) } spids: [700] ) ] ) ] ) (command.Simple words: [ {<echo>} {(DQ <'\''>) ($ Id.VSub_DollarName '$LAST') (DQ <'\''>)} {<title>} {(DQ <'\''>) ($ Id.VSub_DollarName '$TITLE') (DQ <'\''>)} ] redirects: [ (redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (command.Simple words: [{<gnuplot>} {<-persist>}] redirects: [ (redir op: <Id.Redir_Less '<'> loc: (redir_loc.Fd fd:0) arg: {($ Id.VSub_DollarName '$WHAT') <.gnuplot>} ) ] do_fork: T ) (C {<rm>} {($ Id.VSub_DollarName '$WHAT') <.gnuplot>}) ] )