(CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-ne)} {(2)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('Usage: ') (CommandSubPart command_list: (CommandList children:[(C {(basename)} {($ VSub_Number '$0')})]) left_token: <Left_CommandSub '$('> spids: [31 35] ) (' desirednice jobname') ) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[39])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 24] ) ] spids: [16777215 47] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pid) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [(C {(renicename)} {(-p)} {(DQ ($ VSub_Number '$2'))})] ) left_token: <Left_CommandSub '$('> spids: [52 60] ) ) } spids: [50] ) ] spids: [50] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$pid'))} {(Lit_Other '=') (Lit_Other '=')} {(DQ )} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('No process found for ') ($ VSub_Number '$2'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 82] ) ] spids: [16777215 97] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(KW_Bang '!')} {(-z)} { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(echo)} {($ VSub_Name '$pid')}) (C {(sed)} {(SQ <'s/[0-9]*//g'>)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [109 121] ) ) } {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (SimpleCommand words: [ {(echo)} { (DQ ('Failed to make a unique match in the process table for ') ($ VSub_Number '$2')) } ] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[138])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [16777215 128] ) ] spids: [16777215 146] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:currentnice) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (Pipeline children: [ (C {(ps)} {(-lp)} {($ VSub_Name '$pid')}) (C {(tail)} {(-1)}) (C {(awk)} {(SQ <'{print $6}'>)}) ] negated: F ) ] ) left_token: <Left_CommandSub '$('> spids: [151 171] ) ) } spids: [149] ) ] spids: [149] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {($ VSub_Number '$1')} {(-gt)} {($ VSub_Name '$currentnice')} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (C {(echo)} {(DQ ('Adjusting priority of ') ($ VSub_Number '$2') (' to ') ($ VSub_Number '$1'))} ) (C {(renice)} {($ VSub_Number '$1')} {($ VSub_Name '$pid')}) ] spids: [16777215 189] ) ] spids: [16777215 208] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] )