(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-eq)} {(0)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(SQ <'usage: shar file ...'>)}] redirects: [(Redir op:<Redir_GreatAnd '1>&'> fd:1 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(64)}) ] spids: [16777215 110] ) ] spids: [16777215 130] ) (ForEach iter_name: i do_arg_iter: T body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(EscapedLiteralPart token:<Lit_EscapedChar '\\('>)} {(-d)} {($ VSub_Name '$i')} {(-o)} {(-r)} {($ VSub_Name '$i')} {(EscapedLiteralPart token:<Lit_EscapedChar '\\)'>)} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [{(echo)} {(DQ ($ VSub_Name '$i') (' inaccessible or not exist'))}] redirects: [(Redir op:<Redir_GreatAnd '1>&'> fd:1 arg_word:{(2)})] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(66)}) ] spids: [16777215 163] ) ] spids: [16777215 185] ) ] spids: [137 187] ) spids: [16777215 16777215] ) (SimpleCommand words: [{(cat)}] redirects: [ (HereDoc op: <Redir_DLess '<<'> fd: 16777215 here_begin: {(EOF)} here_end_span_id: 208 stdin_parts: [ ('# This is a shell archive. Save it in a file, remove anything before\n') ('# this line, and then unpack it by entering ') (Right_DoubleQuote '"') ('sh file') (Right_DoubleQuote '"') ('. Note, it may\n') ('# create directories; files and directories will be owned by you and\n') ('# have default permissions.\n') ('#\n') ('# This archive contains:\n') ('#\n') ] ) ] ) (ForEach iter_name: i do_arg_iter: T body: (DoGroup children:[(C {(echo)} {(DQ ('#\t') ($ VSub_Name '$i'))})] spids:[214 224]) spids: [16777215 16777215] ) (C {(echo)} {(DQ ('#'))}) (ForEach iter_name: i do_arg_iter: T body: (DoGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-d)} {($ VSub_Name '$i')} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('echo c - ') ($ VSub_Name '$i'))}) (C {(echo)} {(DQ ('mkdir -p ') ($ VSub_Name '$i') (' > /dev/null 2>&1'))}) ] spids: [16777215 252] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sum) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [(C {(echo)} {(-n)} {($ VSub_Name '$i')}) (C {(md5)})] negated: F ) ] ) left_token: <Left_Backtick '`'> spids: [276 286] ) } spids: [275] ) ] spids: [275] ) (C {(echo)} {(DQ ('echo x - ') ($ VSub_Name '$i'))}) (C {(echo)} { (DQ ("sed 's/^X//' >") ($ VSub_Name '$i') (" << '") ($ VSub_Name '$md5sum') ("'")) } ) (AndOr ops: [Op_DPipe] children: [ (C {(sed)} {(SQ <'s/^/X/'>)} {($ VSub_Name '$i')}) (ControlFlow token:<ControlFlow_Exit exit>) ] ) (C {(echo)} {(DQ ($ VSub_Name '$md5sum'))}) ] spids: [272 328] ) ] spids: [238 330] ) spids: [16777215 16777215] ) (C {(echo)} {(ControlFlow_Exit exit)}) (C {(echo)} {(DQ )}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )