(command.CommandList children: [ (command.Simple blame_tok: <.> more_env: [] words: [ {<.>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <dirname> more_env: [] words: [{<dirname>} {($ Id.VSub_Number 0)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) <'/conf.sh'> } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <1..2>)}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'balance='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'balance='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'balance='> name:balance) op: assign_op.Equal rhs: {(DQ <split>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'ddbs='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'ddbs='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'ddbs='> name:ddbs) op: assign_op.Equal rhs: {<8192>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'nblocks1='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'nblocks1='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'nblocks1='> name:nblocks1) op: assign_op.Equal rhs: {<1024>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'nblocks2='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'nblocks2='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'nblocks2='> name:nblocks2) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <expr> more_env: [] words: [ {<expr>} {($ Id.VSub_DollarName nblocks1)} {<'/'>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\('> ch:'(')} {($ Id.VSub_DollarName ddbs)} {<'/'>} {<512>} {(word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\)'> ch:')')} ] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.AndOr children: [ (command.ShAssignment left: <Id.Lit_VarLike 'src='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'src='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'src='> name:src) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <mktemp> more_env: [] words: [{<mktemp>} {($ Id.VSub_DollarName base) <.XXXXXX>}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ops: [<Id.Op_DPipe _>] ) (command.AndOr children: [ (command.ShAssignment left: <Id.Lit_VarLike 'dst='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'dst='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dst='> name:dst) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <mktemp> more_env: [] words: [{<mktemp>} {($ Id.VSub_DollarName base) <.XXXXXX>}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ) ] redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ops: [<Id.Op_DPipe _>] ) (command.Simple blame_tok: <dd> more_env: [] words: [ {<dd>} {<Id.Lit_VarLike 'if='> <'/dev/random'>} {<Id.Lit_VarLike 'of='> (${ Id.VSub_Name src)} {<Id.Lit_VarLike 'bs='> ($ Id.VSub_DollarName ddbs)} {<Id.Lit_VarLike 'count='> ($ Id.VSub_DollarName nblocks2)} ] redirects: [ (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>}) (Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (command.AndOr children: [ (command.ShAssignment left: <Id.Lit_VarLike 'us0='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'us0='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'us0='> name:us0) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <attach_md> more_env: [] words: [ {<attach_md>} {<-t>} {<malloc>} {<-s>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <expr> more_env: [] words: [ {<expr>} {($ Id.VSub_DollarName nblocks1)} {<Id.Lit_Other '+'>} {<1>} ] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ops: [<Id.Op_DPipe _>] ) (command.AndOr children: [ (command.ShAssignment left: <Id.Lit_VarLike 'us1='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'us1='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'us1='> name:us1) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <attach_md> more_env: [] words: [ {<attach_md>} {<-t>} {<malloc>} {<-s>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <expr> more_env: [] words: [ {<expr>} {($ Id.VSub_DollarName nblocks1)} {<Id.Lit_Other '+'>} {<1>} ] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ops: [<Id.Op_DPipe _>] ) (command.AndOr children: [ (command.ShAssignment left: <Id.Lit_VarLike 'us2='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'us2='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'us2='> name:us2) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <attach_md> more_env: [] words: [ {<attach_md>} {<-t>} {<malloc>} {<-s>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <expr> more_env: [] words: [ {<expr>} {($ Id.VSub_DollarName nblocks1)} {<Id.Lit_Other '+'>} {<1>} ] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } ] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ops: [<Id.Op_DPipe _>] ) (command.AndOr children: [ (command.Simple blame_tok: <gmirror> more_env: [] words: [ {<gmirror>} {<label>} {<-b>} {($ Id.VSub_DollarName balance)} {<-s>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <expr> more_env: [] words: [{<expr>} {($ Id.VSub_DollarName ddbs)} {<'/'>} {<2>}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } {($ Id.VSub_DollarName name)} {<'/dev/'> (${ Id.VSub_Name us0)} {<'/dev/'> (${ Id.VSub_Name us1)} ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Exit exit> arg_word:{<1>}) ] ops: [<Id.Op_DPipe _>] ) (command.Simple blame_tok:<devwait> more_env:[] words:[{<devwait>}] redirects:[] do_fork:T) (command.Simple blame_tok: <dd> more_env: [] words: [ {<dd>} {<Id.Lit_VarLike 'if='> (${ Id.VSub_Name src)} {<Id.Lit_VarLike 'of='> <'/dev/mirror/'> (${ Id.VSub_Name name)} {<Id.Lit_VarLike 'bs='> ($ Id.VSub_DollarName ddbs)} {<Id.Lit_VarLike 'count='> ($ Id.VSub_DollarName nblocks2)} ] redirects: [ (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>}) (Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (command.Simple blame_tok: <dd> more_env: [] words: [ {<dd>} {<Id.Lit_VarLike 'if='> <'/dev/zero'>} {<Id.Lit_VarLike 'of='> <'/dev/'> (${ Id.VSub_Name us2)} {<Id.Lit_VarLike 'bs='> ($ Id.VSub_DollarName ddbs)} {<Id.Lit_VarLike 'count='> ($ Id.VSub_DollarName nblocks2)} ] redirects: [ (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>}) (Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (command.Simple blame_tok: <dd> more_env: [] words: [ {<dd>} {<Id.Lit_VarLike 'if='> <'/dev/mirror/'> (${ Id.VSub_Name name)} {<Id.Lit_VarLike 'of='> (${ Id.VSub_Name dst)} {<Id.Lit_VarLike 'bs='> ($ Id.VSub_DollarName ddbs)} {<Id.Lit_VarLike 'count='> ($ Id.VSub_DollarName nblocks2)} ] redirects: [ (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>}) (Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <md5> more_env: [] words: [{<md5>} {<-q>} {(${ Id.VSub_Name src)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <md5> more_env: [] words: [{<md5>} {<-q>} {(${ Id.VSub_Name dst)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'not ok 1'>)}] redirects: [] do_fork: T ) ] spids: [323 357] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'ok 1'>)}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <gmirror> more_env: [] words: [{<gmirror>} {<insert>} {(${ Id.VSub_Name name)} {(${ Id.VSub_Name us2)}] redirects: [] do_fork: T ) (command.Simple blame_tok:<sleep> more_env:[] words:[{<sleep>} {<1>}] redirects:[] do_fork:T) (command.Simple blame_tok: <dd> more_env: [] words: [ {<dd>} {<Id.Lit_VarLike 'if='> <'/dev/'> (${ Id.VSub_Name us2)} {<Id.Lit_VarLike 'of='> (${ Id.VSub_Name dst)} {<Id.Lit_VarLike 'bs='> ($ Id.VSub_DollarName ddbs)} {<Id.Lit_VarLike 'count='> ($ Id.VSub_DollarName nblocks2)} ] redirects: [ (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>}) (Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) ] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <md5> more_env: [] words: [{<md5>} {<-q>} {(${ Id.VSub_Name src)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} { (CommandSub left_token: <Id.Left_Backtick '`'> child: (command.Simple blame_tok: <md5> more_env: [] words: [{<md5>} {<-q>} {(${ Id.VSub_Name dst)}] redirects: [] do_fork: T ) right: <Id.Backtick_Right '`'> ) } {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'not ok 2'>)}] redirects: [] do_fork: T ) ] spids: [425 459] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'ok 2'>)}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <rm> more_env: [] words: [{<rm>} {<-f>} {(${ Id.VSub_Name src)} {(${ Id.VSub_Name dst)}] redirects: [] do_fork: T ) ] )