(CommandList children: [ (C {(trap)} { (DQ (CommandSubPart command_list: (CommandList children:[(C {(which)} {(rm)})]) left_token: <Left_Backtick '`'> spids: [18 22] ) (' -f traverse.dat traverse2.dat') ) } {(0)} ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-z)} {(DQ ($ VSub_Number '$1'))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (Sentence child: (SimpleCommand words: [{(echo)} {(DQ ('Usage: checklinks URL'))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[52])] ) terminator: <Op_Semi ';'> ) (C {(exit)} {(1)}) ] spids: [16777215 43] ) ] spids: [16777215 61] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:baseurl) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Number '$1')}) (C {(cut)} {(-d/)} {(-f3)}) (C {(sed)} {(SQ <'s/http:\\/\\///'>)}) ] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [66 86] ) ) } spids: [64] ) ] spids: [64] ) (SimpleCommand words: [{(lynx)} {(-traversal)} {(-accept_all_cookies)} {(-realm)} {(DQ ($ VSub_Number '$1'))}] redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[102])] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-s)} {(DQ (traverse.errors))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(-n)} { (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [{(wc)} {(-l)}] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {(traverse.errors)} spids: [133] ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [128 136] ) } {(errors)} {(encountered.)} ) (C {(echo)} {(Checked)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [(C {(grep)} {(SQ <'^http'>)} {(traverse.dat)}) (C {(wc)} {(-l)})] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [147 161] ) } {(pages)} {(at)} {(${ VSub_Number 1) (Lit_Other ':')} ) (SimpleCommand words: [{(sed)} {(DQ ('s|') ($ VSub_Number '$1') ('||g'))}] redirects: [ (Redir op_id: Redir_Less fd: 16777215 arg_word: {(traverse.errors)} spids: [181] ) ] ) (C {(mv)} {(traverse.errors)} {(${ VSub_Name baseurl) (.errors)}) (C {(echo)} { (DQ ('(A copy of this output has been saved in ') (${ VSub_Name baseurl) ('.errors)')) } ) ] spids: [16777215 121] ) ] else_action: [ (Sentence child: (C {(echo)} {(-n)} {(DQ ('No errors encountered. '))}) terminator: <Op_Semi ';'> ) (C {(echo)} {(Checked)} { (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [(C {(grep)} {(SQ <'^http'>)} {(traverse.dat)}) (C {(wc)} {(-l)})] negated: False ) ] ) left_token: <Left_CommandSub '$('> spids: [223 237] ) } {(pages)} {(at)} {(${ VSub_Number 1)} ) ] spids: [206 248] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-s)} {(DQ (reject.dat))} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [(C {(mv)} {(reject.dat)} {(${ VSub_Name baseurl) (.rejects)})] spids: [16777215 264] ) ] spids: [16777215 276] ) (C {(exit)} {(0)}) ] )