(command.CommandList children: [ (command.CommandList children: [ (command.Sentence child: (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: {<'/bin'> <Id.Lit_Colon ':'> <'/usr/bin'> <Id.Lit_Colon ':'> ($ Id.VSub_DollarName PATH) } ) ] redirects: [] ) terminator: <Id.Op_Semi _> ) (command.Simple blame_tok: <export> more_env: [] words: [{<export>} {<PATH>}] redirects: [] do_fork: T ) ] ) (command.ShAssignment left: <Id.Lit_VarLike 'opt='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'opt='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt='> name:opt) op: assign_op.Equal rhs: (rhs_word__Empty) ) (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) ) (AssignPair left: <Id.Lit_VarLike 'localdirs='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'localdirs='> name:localdirs) op: assign_op.Equal rhs: (rhs_word__Empty) ) ] redirects: [] ) (command.ForEach keyword: <Id.KW_For for> iter_names: [arg] iterable: (for_iter__Args) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{(DQ ($ Id.VSub_DollarName arg))}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <-> pattern: (pat.Words words:[{<-> <Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'opt='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'opt='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'opt='> name:opt) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName opt) <' '> ($ Id.VSub_DollarName arg))} ) ] redirects: [] ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (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) <' '> ($ Id.VSub_DollarName arg))} ) ] redirects: [] ) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] right: <Id.KW_Done done> ) 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: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Pipeline children: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {($ Id.VSub_DollarName dirs)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <sed> more_env: [] words: [{<sed>} {(SQ <'s/:/ /g'>)}] redirects: [] do_fork: T ) ] ops: [<Id.Op_Pipe _>] ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{<X> (DQ ($ Id.VSub_DollarName dirs))}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <X> pattern: (pat.Words words:[{<X>}]) middle: <Id.Right_CasePat _> action: [ (command.Sentence child: (command.Simple blame_tok: <echo> more_env: [] words: [ {<echo>} {(DQ <'usage: '> ($ Id.VSub_Number 0) <' [options] directories ...'>)} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'localdirs='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'localdirs='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'localdirs='> name:localdirs) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <find> more_env: [] words: [ {<find>} {<-H>} {($ Id.VSub_DollarName dirs)} {<-fstype>} {<local>} {<-type>} {<d>} {<-prune>} {<-print>} ] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{<X> (DQ ($ Id.VSub_DollarName localdirs))}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <X> pattern: (pat.Words words:[{<X>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [ {<echo>} { (DQ ($ Id.VSub_Number 0) <': no local-mounted manual directories found: '> ($ Id.VSub_DollarName dirs) ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <exec> more_env: [] words: [ {<exec>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <basename> more_env: [] words: [{<basename>} {($ Id.VSub_Number 0)} {<.local>}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } {($ Id.VSub_DollarName opt)} {($ Id.VSub_DollarName localdirs)} ] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] )