(CommandList children: [ (C {(Lit_Other ":")} {(pax)} {(tests)}) (C {(integer)} {(Lit_VarLike "errors=") (0)} {(Lit_VarLike "tests=") (0)}) (C {(typeset)} {(-Z)} {(Lit_VarLike "TEST=") (00)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:bail) op:Equal rhs:{(SQ )} spids:[105])] spids: [105] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:clobber) op:Equal rhs:{(1)} spids:[107])] spids: [107] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tmp) op:Equal rhs:{(pax.tmp)} spids:[110])] spids: [110] ) (While cond: [(C {(Lit_Other ":")})] body: (DoGroup children: [ (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(Lit_Other "+")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:PS4) op: Equal rhs: {(SQ <"+$LINENO+ ">)} spids: [130] ) ] spids: [130] ) terminator: <Op_Semi ";"> ) (Sentence child:(C {(shift)}) terminator:<Op_Semi ";">) (C {(set)} {(-x)}) ] spids: [127 128 143 -1] ) (case_arm pat_list: [{(-)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:clobber) op: Equal rhs: {(SQ )} spids: [149] ) ] spids: [149] ) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [146 147 154 -1] ) (case_arm pat_list: [{(.)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:bail) op: Equal rhs: {(1)} spids: [160] ) ] spids: [160] ) terminator: <Op_Semi ";"> ) (C {(shift)}) ] spids: [157 158 166 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [(ControlFlow token:<ControlFlow_Break break>)] spids: [169 170 174 -1] ) ] spids: [120 124 177] ) ] spids: [118 179] ) ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(Lit_Other "*") (tar)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:tar) op: Equal rhs: {($ VSub_Number "$1")} spids: [191] ) ] spids: [191] ) terminator: <Op_Semi ";"> ) (Sentence child:(C {(shift)}) terminator:<Op_Semi ";">) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:formats) op: Equal rhs: {(DQ (tar.tar))} spids: [198] ) ] spids: [198] ) ] spids: [187 189 203 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:tar) op:Equal rhs:{(SQ )} spids:[208])] spids: [208] ) terminator: <Op_Semi ";"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:formats) op: Equal rhs: {(DQ ("pax.pax pax:gzip.pgz cpio.cpio tar.tar tar:gzip.tgz"))} spids: [213] ) ] spids: [213] ) ] spids: [205 206 218 -1] ) ] spids: [181 185 220] ) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list: [{(-) (Lit_Other "*")} {(SQ )}] action: [(C {(set)} {(pax)} {(DQ ($ VSub_At "$@"))})] spids: [228 233 243 -1] ) ] spids: [222 226 245] ) (C {(set)} {(DQ ($ VSub_At "$@"))} {(--physical)} {(--nosummary)} {(--noverify)}) (Case to_match: {($ VSub_Number "$1")} arms: [ (case_arm pat_list:[{(/) (Lit_Other "*")}] spids:[265267269-1]) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:cmd) op: Equal rhs: {($ VSub_Number "$1")} spids: [274] ) ] spids: [274] ) (C {(shift)}) (C {(set)} {(DQ ($ VSub_Name "$PWD") (/) ($ VSub_Name "$cmd"))} {(DQ ($ VSub_At "$@"))}) ] spids: [271 272 294 -1] ) ] spids: [259 263 296] ) (C {(print)} {(-u2)} {(DQ ("TEST\t") ($ VSub_At "$@"))}) (ForEach iter_name: format iter_words: [{($ VSub_Name "$formats")}] do_arg_iter: False body: (DoGroup children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:suf) op: Equal rhs: { (BracedVarSub token: <VSub_Name format> suffix_op: (StringUnary op_id:VOp1_DPound arg_word:{("*.")}) spids: [319 323] ) } spids: [318] ) ] spids: [318] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:fmt) op: Equal rhs: { (DQ ("--format=") (BracedVarSub token: <VSub_Name format> suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(".*")}) spids: [329 333] ) ) } spids: [326] ) ] spids: [326] ) (C {(Lit_Other ":")} {(all)} {(files)} {(created)} {(KW_In in)} {($ VSub_Name "$tmp")}) (C {(rm)} {(-rf)} {($ VSub_Name "$tmp")}) (C {(mkdir)} {($ VSub_Name "$tmp")}) (C {(cd)} {($ VSub_Name "$tmp")}) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:tests))) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(0)} spids:[377])] spids: [377] ) (C {(Lit_Other ":")} {(old)} {(files)} {(and)} {(base)} {(archive)}) (C {(mkdir)} {(old)}) (C {(cd)} {(old)}) (ForEach iter_name: i iter_words: [{(a)} {(b)} {(c)} {(d)} {(e)} {(f)} {(g)}] do_arg_iter: False body: (DoGroup children: [ (SimpleCommand words: [{(print)} {($ VSub_Name "$i") ($ VSub_Name "$i") ($ VSub_Name "$i")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$i")} spids: [435] ) ] ) ] spids: [427 440] ) spids: [411 -1] ) (C {(ln)} {(a)} {(i)}) (C {(ln)} {(b)} {(j)}) (C {(ln)} {(-s)} {(c)} {(k)}) (C {(ln)} {(-s)} {(d)} {(m)}) (C {(mkdir)} {(dirsub)}) (SimpleCommand words: [{(print)} {(aha)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(dirsub/x)} spids:[484])] ) (Case to_match: {($ VSub_Name "$tar")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(../old.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} {(Lit_Other "*")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [515] ) ] spids: [515] ) ] op_id: Op_DPipe ) ] spids: [-1 498 518 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {($ VSub_Name "$tar")} {(cf)} {(../old.) ($ VSub_Name "$suf")} {(.)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [535] ) ] spids: [535] ) ] op_id: Op_DPipe ) ] spids: [521 522 538 -1] ) ] spids: [489 493 541] ) (C {(cd)} {(..)}) (C {(Lit_Other ":")} {(new)} {(files)} {(and)} {(base)} {(archive)}) (C {(mkdir)} {(new)}) (C {(cd)} {(new)}) (If arms: [ (if_arm cond: [(C {(false)})] action: [ (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(../old.) ($ VSub_Name "$suf")}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [592] ) ] spids: [592] ) ] op_id: Op_DPipe ) ] spids: [-1 579] ) ] else_action: [ (C {(Lit_Other ":")} {(directory)} {(link)} {(order)} {(matters) (KW_Bang "!")}) (ForEach iter_name: i iter_words: [{(a)} {(b)} {(c)} {(d)} {(e)} {(f)} {(g)}] do_arg_iter: False body: (DoGroup children: [ (SimpleCommand words: [{(print)} {($ VSub_Name "$i") ($ VSub_Name "$i") ($ VSub_Name "$i")}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$i")} spids: [639] ) ] ) ] spids: [631 644] ) spids: [615 -1] ) (C {(ln)} {(a)} {(i)}) (C {(ln)} {(b)} {(j)}) (C {(ln)} {(-s)} {(c)} {(k)}) (C {(ln)} {(-s)} {(d)} {(m)}) (SimpleCommand words: [{(print)} {(DQ (xxxx))}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(ca)} spids:[685])] ) (C {(Lit_Other ":")} {(have)} {(a)} {(dir)} {(alphabetically)} {(between)} {(file1)} {(and)} {(file2)} ) (C {(mkdir)} {(csubdir)}) (SimpleCommand words: [{(print)} {(DQ (ccc))}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(csubdir/h)} spids:[721])] ) (C {(mkdir)} {(dirsub)}) (C {(Lit_Other ":")} {(have)} {(file1)} {(alphabetically)} {(less)} {(than)} {(file2)}) (C {(ln)} {(ca)} {(dirsub/y)}) (SimpleCommand words: [{(print)} {(aha)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(dirsub/x)} spids:[758])] ) ] spids: [596 763] ) (C {(rm)} {(a)}) (C {(sleep)} {(1)}) (SimpleCommand words: [{(print)} {(DDD)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(d)} spids:[780])] ) (SimpleCommand words: [{(print)} {(zzz)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(z)} spids:[789])] ) (C {(rm)} {(m)}) (C {(ln)} {(-s)} {(e)} {(m)}) (C {(mkdir)} {(beta)}) (SimpleCommand words: [{(print)} {(ppp)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(beta/p)} spids:[817])] ) (SimpleCommand words: [{(print)} {(qqq)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(beta/q)} spids:[826])] ) (SimpleCommand words: [{(print)} {(rrr)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(beta/r)} spids:[835])] ) (Case to_match: {($ VSub_Name "$tar")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(../new.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} {(Lit_Other "*")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [866] ) ] spids: [866] ) ] op_id: Op_DPipe ) ] spids: [-1 849 869 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {($ VSub_Name "$tar")} {(cf)} {(../new.) ($ VSub_Name "$suf")} {(.)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [886] ) ] spids: [886] ) ] op_id: Op_DPipe ) ] spids: [872 873 889 -1] ) ] spids: [840 844 892] ) (C {(cd)} {(..)}) (C {(Lit_Other ":")} {(delta)} {(archive)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(new.) ($ VSub_Name "$suf")} {(-wf)} {(old-new.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} {(-z)} {(old.) ($ VSub_Name "$suf")} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[932])] spids: [932] ) ] op_id: Op_DPipe ) (C {(Lit_Other ":")} {(replicate)} {(new)} {(archive)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(old-new.) ($ VSub_Name "$suf")} {(-z)} {(old.) ($ VSub_Name "$suf")} {(-wf)} {(rep.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[970])] spids: [970] ) ] op_id: Op_DPipe ) (C {(Lit_Other ":")} {(verify)} {(replica)}) (C {(mkdir)} {(rep)}) (C {(cd)} {(rep)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(../rep.) ($ VSub_Name "$suf")}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1004])] spids: [1004] ) ] op_id: Op_DPipe ) (C {(cd)} {(..)}) (C {(diff)} {(-r)} {(new)} {(rep)}) (Case to_match: {($ VSub_Name "$status") ($ VSub_QMark "$?")} arms: [ (case_arm pat_list: [{(00)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(SQ )} spids: [1033] ) ] spids: [1033] ) ] spids: [1030 1031 1035 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(DQ (" FAILED"))} spids: [1041] ) ] spids: [1041] ) terminator: <Op_Semi ";"> ) (DParen child: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:errors)) ) ] spids: [1038 1039 1053 -1] ) ] spids: [1022 1027 1056] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEST) op: Equal rhs: {($ VSub_Name "$tests")} spids: [1059] ) ] spids: [1059] ) (C {(print)} {(-u2)} {(DQ ($ VSub_Name "$TEST") ("\tbase ") ($ VSub_Name "$fmt") ($ VSub_Name "$result"))} ) (Case to_match: {($ VSub_Name "$bail") (Lit_Other ":") ($ VSub_Name "$result")} arms: [ (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [(C {(exit)} {(1)})] spids: [1084 1088 1094 -1] ) ] spids: [1075 1081 1097] ) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:tests))) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(0)} spids:[1108])] spids: [1108] ) (C {(Lit_Other ":")} {(add)} {(subdir)} {(to)} {(old)}) (C {(sleep)} {(1)}) (C {(mkdir)} {(old/asub)}) (SimpleCommand words: [{(echo)} {(DQ (zzz))}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(old/asub/w)} spids:[1141])] ) (C {(Lit_Other ":")} {(add)} {(same)} {(subdir)} {(to)} {(new)} {(but)} {(with)} {(newer)} {(KW_Time time)} ) (C {(sleep)} {(1)}) (C {(mkdir)} {(new/asub)}) (SimpleCommand words: [{(echo)} {(DQ (zzz))}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(new/asub/w)} spids:[1185])] ) (C {(Lit_Other ":")} {(redo)} {(the)} {(old)} {(and)} {(new)} {(base)} {(archives)}) (C {(cd)} {(old)}) (Case to_match: {($ VSub_Name "$tar")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(../old.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} {(Lit_Other "*")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [1240] ) ] spids: [1240] ) ] op_id: Op_DPipe ) ] spids: [-1 1223 1243 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {($ VSub_Name "$tar")} {(cf)} {(../old.) ($ VSub_Name "$suf")} {(.)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [1260] ) ] spids: [1260] ) ] op_id: Op_DPipe ) ] spids: [1246 1247 1263 -1] ) ] spids: [1214 1218 1266] ) (C {(cd)} {(../new)}) (Case to_match: {($ VSub_Name "$tar")} arms: [ (case_arm pat_list: [{(SQ )}] action: [ (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(../new.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} {(Lit_Other "*")} ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [1300] ) ] spids: [1300] ) ] op_id: Op_DPipe ) ] spids: [-1 1283 1303 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (AndOr children: [ (C {($ VSub_Name "$tar")} {(cf)} {(../new.) ($ VSub_Name "$suf")} {(.)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:status) op: Equal rhs: {(1)} spids: [1320] ) ] spids: [1320] ) ] op_id: Op_DPipe ) ] spids: [1306 1307 1323 -1] ) ] spids: [1274 1278 1326] ) (C {(cd)} {(..)}) (C {(Lit_Other ":")} {(delta)} {(archive)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(new.) ($ VSub_Name "$suf")} {(-wf)} {(old-new.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} {(-z)} {(old.) ($ VSub_Name "$suf")} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1366])] spids: [1366] ) ] op_id: Op_DPipe ) (C {(Lit_Other ":")} {(replicate)} {(new)} {(archive)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(old-new.) ($ VSub_Name "$suf")} {(-z)} {(old.) ($ VSub_Name "$suf")} {(-wf)} {(rep.) ($ VSub_Name "$suf")} {($ VSub_Name "$fmt")} ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1404])] spids: [1404] ) ] op_id: Op_DPipe ) (C {(Lit_Other ":")} {(verify)} {(replica)}) (C {(rm)} {(-rf)} {(rep)}) (C {(mkdir)} {(rep)}) (C {(cd)} {(rep)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(../rep.) ($ VSub_Name "$suf")}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1445])] spids: [1445] ) ] op_id: Op_DPipe ) (C {(cd)} {(..)}) (C {(diff)} {(-r)} {(new)} {(rep)}) (Case to_match: {($ VSub_Name "$status") ($ VSub_QMark "$?")} arms: [ (case_arm pat_list: [{(00)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(SQ )} spids: [1474] ) ] spids: [1474] ) ] spids: [1471 1472 1476 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(DQ (" FAILED"))} spids: [1482] ) ] spids: [1482] ) terminator: <Op_Semi ";"> ) (DParen child: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:errors)) ) ] spids: [1479 1480 1494 -1] ) ] spids: [1463 1468 1497] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEST) op: Equal rhs: {($ VSub_Name "$tests")} spids: [1500] ) ] spids: [1500] ) (C {(print)} {(-u2)} {(DQ ($ VSub_Name "$TEST") ("\tdelta ") ($ VSub_Name "$fmt") ($ VSub_Name "$result"))} ) (Case to_match: {($ VSub_Name "$bail") (Lit_Other ":") ($ VSub_Name "$result")} arms: [ (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [(C {(exit)} {(1)})] spids: [1525 1529 1535 -1] ) ] spids: [1516 1522 1538] ) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:tests))) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(0)} spids:[1549])] spids: [1549] ) (C {(Lit_Other ":")} {(verify)} {(dir)} {(to)} {(ar)} {(to)} {(dir)} {(to)} {(ar)}) (C {(cd)} {(old)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(../o)} {(.)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1591])] spids: [1591] ) ] op_id: Op_DPipe ) (C {(cd)} {(../new)}) (C {(rm)} {(-r)} {(Lit_Other "*")}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(../o)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1617])] spids: [1617] ) ] op_id: Op_DPipe ) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(../n)} {(.)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1633])] spids: [1633] ) ] op_id: Op_DPipe ) (C {(cd)} {(..)}) (AndOr children: [ (Pipeline children: [ (SimpleCommand words: [{(DQ ($ VSub_At "$@"))} {(-vf)} {(o)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[1650])] ) (SimpleCommand words: [{(sed)} {(-e)} {(SQ <"/^l/s/ ... [ 0-9][0-9] [0-9][0-9]:[0-9][0-9] / /">)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(oo)} spids:[1663])] ) ] negated: False ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1669])] spids: [1669] ) ] op_id: Op_DPipe ) (AndOr children: [ (Pipeline children: [ (SimpleCommand words: [{(DQ ($ VSub_At "$@"))} {(-vf)} {(n)}] redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[1681])] ) (SimpleCommand words: [{(sed)} {(-e)} {(SQ <"/^l/s/ ... [ 0-9][0-9] [0-9][0-9]:[0-9][0-9] / /">)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(nn)} spids:[1694])] ) ] negated: False ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1700])] spids: [1700] ) ] op_id: Op_DPipe ) (C {(diff)} {(oo)} {(nn)}) (Case to_match: {($ VSub_Name "$status") ($ VSub_QMark "$?")} arms: [ (case_arm pat_list: [{(00)}] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(SQ )} spids: [1722] ) ] spids: [1722] ) ] spids: [1719 1720 1724 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(DQ (" FAILED"))} spids: [1730] ) ] spids: [1730] ) terminator: <Op_Semi ";"> ) (DParen child: (UnaryAssign op_id:Node_PostDPlus child:(LhsName name:errors)) ) ] spids: [1727 1728 1742 -1] ) ] spids: [1711 1716 1745] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEST) op: Equal rhs: {($ VSub_Name "$tests")} spids: [1748] ) ] spids: [1748] ) (C {(print)} {(-u2)} {(DQ ($ VSub_Name "$TEST") ("\tio ") ($ VSub_Name "$fmt") ($ VSub_Name "$result"))} ) (Case to_match: {($ VSub_Name "$bail") (Lit_Other ":") ($ VSub_Name "$result")} arms: [ (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [(C {(exit)} {(1)})] spids: [1773 1777 1783 -1] ) ] spids: [1764 1770 1786] ) (C {(Lit_Other ":")} {(back)} {(to)} {(parent)} {(of)} {($ VSub_Name "$tmp")}) (C {(cd)} {(..)}) ] spids: [316 1807] ) spids: [313 -1] ) (C {(cd)} {($ VSub_Name "$tmp")}) (C {(Lit_Other ":")} {(rw)} {(test)}) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:tests))) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(0)} spids:[1827])] spids: [1827] ) (C {(mkdir)} {(cpy)}) (AndOr children: [ (C {(DQ ($ VSub_At "$@"))} {(-rw)} {(new)} {(cpy)}) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:status) op:Equal rhs:{(1)} spids:[1846])] spids: [1846] ) ] op_id: Op_DPipe ) (C {(diff)} {(-r)} {(new)} {(cpy/new)}) (Case to_match: {($ VSub_Name "$status") ($ VSub_QMark "$?")} arms: [ (case_arm pat_list: [{(00)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(SQ )} spids:[1867])] spids: [1867] ) ] spids: [1864 1865 1869 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(DQ (" FAILED"))} spids: [1874] ) ] spids: [1874] ) terminator: <Op_Semi ";"> ) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:errors))) ] spids: [1871 1872 1886 -1] ) ] spids: [1857 1862 1888] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEST) op: Equal rhs: {($ VSub_Name "$tests")} spids: [1890] ) ] spids: [1890] ) (C {(print)} {(-u2)} {(DQ ($ VSub_Name "$TEST") ("\tcopy new cpy") ($ VSub_Name "$result"))}) (Case to_match: {($ VSub_Name "$bail") (Lit_Other ":") ($ VSub_Name "$result")} arms: [ (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [(C {(exit)} {(1)})] spids: [1911 1915 1921 -1] ) ] spids: [1903 1909 1923] ) (C {(Lit_Other ":")} {(conversion)} {(test)}) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:tests))) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:x) op:Equal rhs:{(ascii)} spids:[1939])] spids: [1939] ) (SimpleCommand words: [ {(echo)} {($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") ($ VSub_Name "$x") } ] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(a)} spids:[1961])] ) (ForEach iter_name: i iter_words: [{(1)} {(2)} {(3)} {(4)}] do_arg_iter: False body: (DoGroup children: [ (SimpleCommand words: [{(cat)} {(a)} {(a)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(b)} spids:[1987])] ) (SimpleCommand words: [{(cat)} {(b)} {(b)}] redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(a)} spids:[1998])] ) ] spids: [1979 2002] ) spids: [1970 -1] ) (C {(DQ ($ VSub_At "$@"))} {(-wf)} {(a.pax)} {(-s)} {(Lit_Comma ",") (a) (Lit_Comma ",") (b) (Lit_Comma ",")} {(--to) (Lit_Other "=") (ebcdic3)} {(a)} ) (C {(DQ ($ VSub_At "$@"))} {(-rf)} {(a.pax)} {(--from) (Lit_Other "=") (ebcdic3)}) (If arms: [ (if_arm cond: [(C {(cmp)} {(-s)} {(a)} {(b)})] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:result) op:Equal rhs:{(SQ )} spids:[2050])] spids: [2050] ) ] spids: [-1 2048] ) ] else_action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:result) op: Equal rhs: {(DQ (" FAILED"))} spids: [2054] ) ] spids: [2054] ) (DParen child:(UnaryAssign op_id:Node_PostDPlus child:(LhsName name:errors))) ] spids: [2052 2066] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TEST) op: Equal rhs: {($ VSub_Name "$tests")} spids: [2068] ) ] spids: [2068] ) (C {(print)} {(-u2)} {(DQ ($ VSub_Name "$TEST") ("\tcodeset conversion") ($ VSub_Name "$result"))}) (Case to_match: {($ VSub_Name "$bail") (Lit_Other ":") ($ VSub_Name "$result")} arms: [ (case_arm pat_list: [{(1) (Lit_Other ":") (Lit_Other "?") (Lit_Other "*")}] action: [(C {(exit)} {(1)})] spids: [2089 2093 2099 -1] ) ] spids: [2081 2087 2101] ) (C {(Lit_Other ":")} {(clean)} {(up)}) (Case to_match: {($ VSub_Name "$clobber")} arms: [ (case_arm pat_list: [{(Lit_Other "?") (Lit_Other "*")}] action: [(C {(cd)} {(..)}) (C {(rm)} {(-rf)} {($ VSub_Name "$tmp")})] spids: [2117 2119 2133 -1] ) ] spids: [2111 2115 2135] ) (Case to_match: {($ VSub_Name "$errors")} arms: [ (case_arm pat_list: [{(1)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:plural) op:Equal rhs:{(SQ )} spids:[2147])] spids: [2147] ) ] spids: [2144 2145 2149 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:plural) op:Equal rhs:{(s)} spids:[2154])] spids: [2154] ) ] spids: [2151 2152 2157 -1] ) ] spids: [2138 2142 2159] ) (C {(print)} {(-u2)} { (DQ ("TEST\t") ($ VSub_Number "$1") (", ") ($ VSub_Name "$tests") (" tests, ") ($ VSub_Name "$errors") (" error") ($ VSub_Name "$plural") ) } ) ] )