(command.CommandList
  children: [
    (command.ShAssignment
      left: <Id.Lit_VarLike 'e='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'e='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'e='> name:e)
          op: assign_op.Equal
          rhs: {(DQ <Id.Lit_BadBackslash '\\'> <'033['>)}
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'vline='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'vline='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'vline='> name:vline)
          op: assign_op.Equal
          rhs: 
            {
              (CommandSub
                left_token: <Id.Left_DollarParen '$('>
                child: 
                  (command.CommandList
                    children: [
                      (command.Sentence
                        child: 
                          (command.Simple
                            blame_tok: <tput>
                            more_env: []
                            words: [{<tput>} {<smacs>}]
                            redirects: [
                              (Redir
                                op: <Id.Redir_Great '2>'>
                                loc: (redir_loc.Fd fd:2)
                                arg: {<'/dev/null'>}
                              )
                            ]
                            do_fork: T
                          )
                        terminator: <Id.Op_Semi _>
                      )
                      (command.Sentence
                        child: 
                          (command.Simple
                            blame_tok: <printf>
                            more_env: []
                            words: [{<printf>} {(SQ <x>)}]
                            redirects: []
                            do_fork: T
                          )
                        terminator: <Id.Op_Semi _>
                      )
                      (command.Simple
                        blame_tok: <tput>
                        more_env: []
                        words: [{<tput>} {<rmacs>}]
                        redirects: [
                          (Redir
                            op: <Id.Redir_Great '2>'>
                            loc: (redir_loc.Fd fd:2)
                            arg: {<'/dev/null'>}
                          )
                        ]
                        do_fork: T
                      )
                    ]
                  )
                right: <Id.Eof_RParen _>
              )
            }
        )
      ]
      redirects: []
    )
    (command.AndOr
      children: [
        (command.Simple
          blame_tok: <Id.Lit_LBracket '['>
          more_env: []
          words: [
            {<Id.Lit_LBracket '['>}
            {(DQ ($ Id.VSub_DollarName vline))}
            {<Id.Lit_Equals '='>}
            {(DQ <x>)}
            {<Id.Lit_RBracket ']'>}
          ]
          redirects: []
          do_fork: T
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike 'vline='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike 'vline='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'vline='> name:vline)
              op: assign_op.Equal
              rhs: {(DQ <'|'>)}
            )
          ]
          redirects: []
        )
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.Simple
      blame_tok: <printf>
      more_env: []
      words: [
        {<printf>}
        {
          (DQ (${ Id.VSub_Name e) <'1;4mf'> 
            (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <b> (${ Id.VSub_Name e) <0m> 
            (${ Id.VSub_Name e) <'4m none  white    black     red     '> <'green    yellow   blue    magenta    cyan  '> 
            (${ Id.VSub_Name e) <0m> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\\\'> ch:'\\') <n>
          )
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'rows='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'rows='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'rows='> name:rows)
          op: assign_op.Equal
          rhs: {(SQ <brgybmcw>)}
        )
      ]
      redirects: []
    )
    (command.ForEach
      keyword: <Id.KW_For for>
      iter_names: [f]
      iterable: 
        (for_iter.Words
          words: [
            {<0>}
            {<7>}
            {
              (CommandSub
                left_token: <Id.Left_Backtick '`'>
                child: 
                  (command.Simple
                    blame_tok: <seq>
                    more_env: []
                    words: [{<seq>} {<6>}]
                    redirects: []
                    do_fork: T
                  )
                right: <Id.Backtick_Right '`'>
              )
            }
          ]
        )
      semi_tok: <Id.Op_Semi _>
      body: 
        (command.DoGroup
          left: <Id.KW_Do do>
          children: [
            (command.Sentence
              child: 
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'no='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'no='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'no='> name:no)
                      op: assign_op.Equal
                      rhs: {(DQ )}
                    )
                  ]
                  redirects: []
                )
              terminator: <Id.Op_Semi _>
            )
            (command.Sentence
              child: 
                (command.ShAssignment
                  left: <Id.Lit_VarLike 'bo='>
                  pairs: [
                    (AssignPair
                      left: <Id.Lit_VarLike 'bo='>
                      lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'bo='> name:bo)
                      op: assign_op.Equal
                      rhs: {(DQ )}
                    )
                  ]
                  redirects: []
                )
              terminator: <Id.Op_Semi _>
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'p='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'p='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'p='> name:p)
                  op: assign_op.Equal
                  rhs: {(DQ )}
                )
              ]
              redirects: []
            )
            (command.ForEach
              keyword: <Id.KW_For for>
              iter_names: [b]
              iterable: 
                (for_iter.Words
                  words: [
                    {<n>}
                    {<7>}
                    {<0>}
                    {
                      (CommandSub
                        left_token: <Id.Left_Backtick '`'>
                        child: 
                          (command.Simple
                            blame_tok: <seq>
                            more_env: []
                            words: [{<seq>} {<6>}]
                            redirects: []
                            do_fork: T
                          )
                        right: <Id.Backtick_Right '`'>
                      )
                    }
                  ]
                )
              semi_tok: <Id.Op_Semi _>
              body: 
                (command.DoGroup
                  left: <Id.KW_Do do>
                  children: [
                    (command.Sentence
                      child: 
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'co='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'co='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'co='> name:co)
                              op: assign_op.Equal
                              rhs: {(DQ <3> ($ Id.VSub_DollarName f))}
                            )
                          ]
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.AndOr
                      children: [
                        (command.Simple
                          blame_tok: <Id.Lit_LBracket '['>
                          more_env: []
                          words: [
                            {<Id.Lit_LBracket '['>}
                            {($ Id.VSub_DollarName b)}
                            {<Id.Lit_Equals '='>}
                            {<n>}
                            {<Id.Lit_RBracket ']'>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                        (command.ShAssignment
                          left: <Id.Lit_VarLike 'co='>
                          pairs: [
                            (AssignPair
                              left: <Id.Lit_VarLike 'co='>
                              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'co='> name:co)
                              op: assign_op.Equal
                              rhs: {(DQ ($ Id.VSub_DollarName co) <';4'> ($ Id.VSub_DollarName b))}
                            )
                          ]
                          redirects: []
                        )
                      ]
                      ops: [<Id.Op_DPipe _>]
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'no='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'no='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'no='> name:no)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (DQ (${ Id.VSub_Name no) (${ Id.VSub_Name e) (${ Id.VSub_Name co) <'m  '> 
                                (${ Id.VSub_Name p) (${ Id.VSub_Name co) <' '> (${ Id.VSub_Name e) <0m>
                              )
                            }
                        )
                      ]
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'bo='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'bo='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'bo='> name:bo)
                          op: assign_op.Equal
                          rhs: 
                            {
                              (DQ (${ Id.VSub_Name bo) (${ Id.VSub_Name e) <'1;'> (${ Id.VSub_Name co) 
                                <m> (${ Id.VSub_Name p) <'1;'> (${ Id.VSub_Name co) <' '> (${ Id.VSub_Name e) <0m>
                              )
                            }
                        )
                      ]
                      redirects: []
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'p='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'p='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'p='> name:p)
                          op: assign_op.Equal
                          rhs: {(DQ <' '>)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'fc='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'fc='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'fc='> name:fc)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (CommandSub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (command.Pipeline
                            children: [
                              (command.Simple
                                blame_tok: <echo>
                                more_env: []
                                words: [{<echo>} {($ Id.VSub_DollarName rows)}]
                                redirects: []
                                do_fork: T
                              )
                              (command.Simple
                                blame_tok: <cut>
                                more_env: []
                                words: [
                                  {<cut>}
                                  {<-c> 
                                    (word_part.ArithSub
                                      left: <Id.Left_DollarDParen '$(('>
                                      anode: 
                                        (arith_expr.Binary
                                          op_id: Id.Arith_Plus
                                          left: ($ Id.Lit_ArithVarLike f)
                                          right: {<Id.Lit_Digits 1>}
                                        )
                                      right: <Id.Right_DollarDParen _>
                                    )
                                  }
                                ]
                                redirects: []
                                do_fork: T
                              )
                            ]
                            ops: [<Id.Op_Pipe _>]
                          )
                        right: <Id.Eof_RParen _>
                      )
                    }
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <printf>
              more_env: []
              words: [
                {<printf>}
                {
                  (DQ ($ Id.VSub_DollarName fc) <' '> ($ Id.VSub_DollarName vline) 
                    ($ Id.VSub_DollarName no) <Id.Lit_BadBackslash '\\'> <nb> ($ Id.VSub_DollarName fc) ($ Id.VSub_DollarName vline) 
                    ($ Id.VSub_DollarName bo) <Id.Lit_BadBackslash '\\'> <n>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
          ]
          right: <Id.KW_Done done>
        )
      redirects: []
    )
  ]
)