(command.CommandList children: [ (command.Simple blame_tok: <Id.Lit_Colon ':'> more_env: [] words: [{<Id.Lit_Colon ':'>} {<tw>} {<Id.Lit_Other '+'>} {<pax>} {<Id.KW_For for>} {<backup>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'command='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'command='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'command='> name:command) op: assign_op.Equal rhs: {<bax>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'customize='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'customize='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'customize='> name:customize) op: assign_op.Equal rhs: {<'../lib/'> (${ Id.VSub_Name command) <'/init'>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'root='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'root='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'root='> name:root) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'arch_name='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'arch_name='> name:arch_name) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'arch_keep='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'arch_keep='> name:arch_keep) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'big_size='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'big_size='> name:big_size) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'big_magic_keep='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'big_magic_keep='> name:big_magic_keep) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'name_skip='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'name_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'name_skip='> name:name_skip) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'path_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'path_skip='> name:path_skip) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'reg_magic_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'reg_magic_skip='> name:reg_magic_skip) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'src_name='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'src_name='> name:src_name) op: assign_op.Equal rhs: (rhs_word__Empty) ) (AssignPair left: <Id.Lit_VarLike 'src_magic_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'src_magic_skip='> name:src_magic_skip) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'ifs='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ifs='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ifs='> name:ifs) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name IFS> var_name: IFS suffix_op: (suffix_op.Unary op:<Id.VTest_Hyphen _> arg_word:{(SQ <'\n'> <'\t '>)}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'IFS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'IFS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'IFS='> name:IFS) op: assign_op.Equal rhs: {<Id.Lit_Colon ':'>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'path='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'path='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'path='> name:path) op: assign_op.Equal rhs: {($ Id.VSub_DollarName PATH)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'IFS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'IFS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'IFS='> name:IFS) op: assign_op.Equal rhs: {($ Id.VSub_DollarName ifs)} ) ] redirects: [] ) (command.ForEach keyword: <Id.KW_For for> iter_names: [dir] iterable: (for_iter.Words words:[{($ Id.VSub_DollarName path)}]) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Simple blame_tok: <test> more_env: [] words: [ {<test>} {<-f>} {($ Id.VSub_DollarName dir) <'/'> ($ Id.VSub_DollarName customize)} ] redirects: [] do_fork: T ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {($ Id.VSub_DollarName dir) <'/'> ($ Id.VSub_DollarName customize)}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Break break>) ] spids: [156 167] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'root='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'root='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'root='> name:root) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name root> var_name: root suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{(SQ <'/'>)}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'arch_name='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'arch_name='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'arch_name='> name:arch_name) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name arch_name> var_name: arch_name suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{(SQ <arch>)}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'arch_keep='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'arch_keep='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'arch_keep='> name:arch_keep) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name arch_keep> var_name: arch_keep suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{(SQ <'bin|fun|lib'>)}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'big_size='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'big_size='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'big_size='> name:big_size) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name big_size> var_name: big_size suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<5000000>}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'big_magic_keep='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'big_magic_keep='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'big_magic_keep='> name:big_magic_keep) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name big_magic_keep> var_name: big_magic_keep suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{(SQ <mail>)}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'name_skip='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'name_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'name_skip='> name:name_skip) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name name_skip> var_name: name_skip suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {(SQ <'?(*.)(old|save|tmp)?(.*)|.*-cache'>)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'path_skip='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'path_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'path_skip='> name:path_skip) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name path_skip> var_name: path_skip suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {(SQ <'/dev|/usr/local/ast/ship'>)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'reg_magic_skip='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'reg_magic_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'reg_magic_skip='> name:reg_magic_skip) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name reg_magic_skip> var_name: reg_magic_skip suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {(SQ <'core|cql * index|history|TeX dvi'>)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'src_name='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'src_name='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'src_name='> name:src_name) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name src_name> var_name: src_name suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{(SQ <src>)}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'src_magic_skip='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'src_magic_skip='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'src_magic_skip='> name:src_magic_skip) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name src_magic_skip> var_name: src_magic_skip suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {(SQ <'executable|object|(archive|shared) library'>)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{($ Id.VSub_Pound '#')}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <Id.Lit_LBracket '['> pattern: (pat.Words words:[{<Id.Lit_LBracket '['> <01> <Id.Lit_RBracket ']'>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [ {<echo>} {(DQ <'Usage: '> ($ Id.VSub_DollarName command) <' delta base [dir ...]'>)} ] redirects: [(Redir op:<Id.Redir_GreatAnd '>&'> loc:(redir_loc.Fd fd:1) arg:{<2>})] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<2>}) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'delta='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'delta='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'delta='> name:delta) op: assign_op.Equal rhs: {($ Id.VSub_Number 1)} ) ] redirects: [] ) (command.Simple blame_tok:<shift> more_env:[] words:[{<shift>}] redirects:[] do_fork:T) (command.ShAssignment left: <Id.Lit_VarLike 'base='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'base='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'base='> name:base) op: assign_op.Equal rhs: {($ Id.VSub_Number 2)} ) ] redirects: [] ) (command.Simple blame_tok:<shift> more_env:[] words:[{<shift>}] redirects:[] do_fork:T) (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{($ Id.VSub_Pound '#')}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <0> pattern: (pat.Words words:[{<0>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <set> more_env: [] words: [{<set>} {($ Id.VSub_DollarName root)}] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'dirs='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'dirs='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dirs='> name:dirs) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] redirects: [] ) (command.WhileUntil keyword: <Id.KW_While while> cond: (condition.Shell commands: [ (command.Simple blame_tok: <Id.Lit_Colon ':'> more_env: [] words: [{<Id.Lit_Colon ':'>}] redirects: [] do_fork: T ) ] ) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{($ Id.VSub_Pound '#')}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <0> pattern: (pat.Words words:[{<0>}]) middle: <Id.Right_CasePat _> action: [(command.ControlFlow keyword:<Id.ControlFlow_Break break>)] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'dirs='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'dirs='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dirs='> name:dirs) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName dirs) <' -d '> ($ Id.VSub_Number 1))} ) ] redirects: [] ) (command.Simple blame_tok: <shift> more_env: [] words: [{<shift>}] redirects: [] do_fork: T ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.Pipeline children: [ (command.Simple blame_tok: <tw> more_env: [] words: [ {<tw>} {($ Id.VSub_DollarName dirs)} {<-mH>} {<-e>} { (DQ <'\n'> <'\n'> <'begin:\tint\tarch_bit = 1;\n'> <'\tint\tsrc_bit = 2;\n'> <'\tchar*\tm;\n'> <'\n'> <'sort:\tname;\n'> <'\n'> <'select:\tif (name == \''> (${ Id.VSub_Name name_skip) <'\')\n'> <'\t\tstatus = SKIP;\n'> <'\telse if (type == REG)\n'> <'\t{\n'> <'\t\tm = magic;\n'> <'\t\tif (size > '> (${ Id.VSub_Name big_size) <' && m != \'*@('> (${ Id.VSub_Name big_magic_keep) <')*\' ||\n'> <'\t\t m == \'*@('> (${ Id.VSub_Name reg_magic_skip) <')*\' ||\n'> <'\t\t (parent.local & src_bit) && m == \'*@('> (${ Id.VSub_Name src_magic_skip) <')*\')\n'> <'\t\t\tstatus = SKIP;\n'> <'\t}\n'> <'\telse if (type == DIR)\n'> <'\t{\n'> <'\t\tlocal = (parent.local & src_bit);\n'> <'\t\tif (dev != parent.dev || path == \''> (${ Id.VSub_Name path_skip) <'\' || (parent.parent.local & arch_bit) && name != \''> (${ Id.VSub_Name arch_keep) <'\')\n'> <'\t\t\tstatus = SKIP;\n'> <'\t\telse if (name == \''> (${ Id.VSub_Name arch_name) <'\')\n'> <'\t\t\tlocal |= arch_bit;\n'> <'\t\telse if (name == \''> (${ Id.VSub_Name src_name) <'\')\n'> <'\t\t\tlocal |= src_bit;\n'> <'\t}\n'> <'\treturn 1;\n'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <pax> more_env: [] words: [ {<pax>} {<-o>} { (DQ <'write ordered physical verbose file='> ($ Id.VSub_DollarName delta) <' base='> ($ Id.VSub_DollarName base) ) } ] redirects: [] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) ] )