(command.CommandList children: [ (command.ShAssignment pairs: [ (assign_pair lhs: (sh_lhs_expr.Name name:tid) op: assign_op.Equal rhs: {(DQ <'transfer data'>)} spids: [7] ) ] ) (command.ForEach iter_name: p iter_words: [{(${ Id.VSub_Name SSH_PROTOCOLS)}] do_arg_iter: F body: (command.DoGroup children: [ (C {<verbose>} {(DQ ($ Id.VSub_DollarName '$tid') <': proto '> ($ Id.VSub_DollarName '$p'))}) (C {<rm>} {<-f>} {(${ Id.VSub_Name COPY)}) (command.Simple words: [ {(${ Id.VSub_Name SSH)} {<-n>} {<-q>} {<-> ($ Id.VSub_DollarName '$p')} {<-F>} {($ Id.VSub_DollarName '$OBJ') <'/ssh_proxy'>} {<somehost>} {<cat>} {(${ Id.VSub_Name DATA)} ] redirects: [ (redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {(${ Id.VSub_Name COPY)} ) ] do_fork: T ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_QMark '$?')} {<-ne>} {<0>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [(C {<fail>} {(DQ <'ssh cat '> ($ Id.VSub_DollarName '$DATA') <' failed'>)})] spids: [76 89] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<cmp>} {(${ Id.VSub_Name DATA)} {(${ Id.VSub_Name COPY)}) (C {<fail>} {(DQ <'corrupted copy'>)}) ] ) (command.ForEach iter_name: s iter_words: [{<10>} {<100>} {<1k>} {<32k>} {<64k>} {<128k>} {<256k>}] do_arg_iter: F body: (command.DoGroup children: [ (C {<trace>} {(DQ <'proto '> ($ Id.VSub_DollarName '$p') <' dd-size '> (${ Id.VSub_Name s))} ) (C {<rm>} {<-f>} {(${ Id.VSub_Name COPY)}) (command.Pipeline children: [ (command.Simple words: [ {<dd>} {<Id.Lit_VarLike 'if='> ($ Id.VSub_DollarName '$DATA')} {<Id.Lit_VarLike 'obs='> (${ Id.VSub_Name s)} ] redirects: [ (redir op: <Id.Redir_Great '2>'> loc: (redir_loc.Fd fd:2) arg: {<'/dev/null'>} ) ] do_fork: T ) (C {(${ Id.VSub_Name SSH)} {<-q>} {<-> ($ Id.VSub_DollarName '$p')} {<-F>} {($ Id.VSub_DollarName '$OBJ') <'/ssh_proxy'>} {<somehost>} {(DQ <'cat > '> (${ Id.VSub_Name COPY))} ) ] negated: F ) (command.If arms: [ (if_arm cond: (condition.Shell commands: [ (command.Sentence child: (C {<Id.Lit_LBracket '['>} {($ Id.VSub_QMark '$?')} {<-ne>} {<0>} {<Id.Lit_RBracket ']'>} ) terminator: <Id.Op_Semi _> ) ] ) action: [ (C {<fail>} {(DQ <'ssh cat '> ($ Id.VSub_DollarName '$DATA') <' failed'>)}) ] spids: [211 224] ) ] ) (command.AndOr ops: [Id.Op_DPipe] children: [ (C {<cmp>} {($ Id.VSub_DollarName '$DATA')} {(${ Id.VSub_Name COPY)}) (C {<fail>} {(DQ <'corrupted copy'>)}) ] ) ] ) ) ] ) ) (C {<rm>} {<-f>} {(${ Id.VSub_Name COPY)}) ] )