(CommandList
  children: [
    (Sentence
      child: 
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:BLOCK_SIZE)
              op: Equal
              rhs: {(EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (1)}
              spids: [54]
            )
          ]
          spids: [54]
        )
      terminator: <Op_Semi ';'>
    )
    (C {(export)} {(BLOCK_SIZE)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:TIME_STYLE)
          op: Equal
          rhs: {(SQ <'+%b %e  %Y\n'> <'%b %e %H:%M'>)}
          spids: [79]
        )
      ]
      spids: [79]
    )
    (C {(export)} {(TIME_STYLE)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (Pipeline
                  children: [
                    (C {(echo)} {(DQ ($ VSub_Name '$LANG'))})
                    (SimpleCommand
                      words: [{(grep)} {(-i)} {(DQ ('utf-*8') (Lit_Other '$'))}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(/dev/null)}
                          spids: [112]
                        )
                      ]
                    )
                  ]
                  negated: F
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:SYM_ARROW)
                  op: Equal
                  rhs: {(DQ ('\xe2\x96\xaa\xe2\x96\xb6'))}
                  spids: [119]
                )
              ]
              spids: [119]
            )
          ]
          spids: [16777215 116]
        )
      ]
      else_action: [
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:SYM_ARROW) op:Equal rhs:{(DQ ('->'))} spids:[127])]
          spids: [127]
        )
      ]
      spids: [124 132]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:ESC)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: (CommandList children:[(C {(printf)} {(SQ <'\\033'>)})])
                left_token: <Left_Backtick '`'>
                spids: [136 142]
              )
            }
          spids: [135]
        )
      ]
      spids: [135]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  ops: [Op_DAmp]
                  children: [
                    (Pipeline
                      children: [
                        (SimpleCommand
                          words: [{(tput)} {(setaf)} {(1)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [158]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [161]
                            )
                          ]
                        )
                      ]
                      negated: T
                    )
                    (Pipeline
                      children: [
                        (SimpleCommand
                          words: [{(tput)} {(AF)} {(1)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [174]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [177]
                            )
                          ]
                        )
                      ]
                      negated: T
                    )
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:color_when)
                  op: Equal
                  rhs: {(EmptyPart)}
                  spids: [184]
                )
              ]
              spids: [184]
            )
          ]
          spids: [16777215 181]
        )
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(test)} {(-t)} {(1)})
                    (Pipeline
                      children: [
                        (C {(echo)} {(DQ ($ VSub_Star '$*'))})
                        (SimpleCommand
                          words: [
                            {(grep)}
                            {(-E)}
                            {(--)}
                            {(DQ ('--color( |=always|') (Lit_Other '$') (')'))}
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [219]
                            )
                          ]
                        )
                      ]
                      negated: F
                    )
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:color_when) op:Equal rhs:{(always)} spids:[234])]
              spids: [234]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (SimpleCommand
                          words: [{(tput)} {(bold)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [244]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [247]
                            )
                          ]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:BLD)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(tput)} {(bold)})])
                                left_token: <Left_Backtick '`'>
                                spids: [258 262]
                              )
                            }
                          spids: [257]
                        )
                      ]
                      spids: [257]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:RST)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(tput)} {(sgr0)})])
                                left_token: <Left_Backtick '`'>
                                spids: [266 270]
                              )
                            }
                          spids: [265]
                        )
                      ]
                      spids: [265]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:HLI)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(tput)} {(smso)})])
                                left_token: <Left_Backtick '`'>
                                spids: [274 278]
                              )
                            }
                          spids: [273]
                        )
                      ]
                      spids: [273]
                    )
                  ]
                  spids: [16777215 251]
                )
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (SimpleCommand
                          words: [{(tput)} {(md)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [287]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [290]
                            )
                          ]
                        )
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:BLD)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(tput)} {(md)})])
                                left_token: <Left_Backtick '`'>
                                spids: [301 305]
                              )
                            }
                          spids: [300]
                        )
                      ]
                      spids: [300]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:RST)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(tput)} {(me)})])
                                left_token: <Left_Backtick '`'>
                                spids: [309 313]
                              )
                            }
                          spids: [308]
                        )
                      ]
                      spids: [308]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:HLI)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: (CommandList children:[(C {(tput)} {(so)})])
                                left_token: <Left_Backtick '`'>
                                spids: [317 321]
                              )
                            }
                          spids: [316]
                        )
                      ]
                      spids: [316]
                    )
                  ]
                  spids: [281 294]
                )
              ]
              spids: [16777215 324]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:LS_HLI)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(echo)} {(DQ ($ VSub_Name '$HLI'))})
                                  (C {(sed)} 
                                    {
                                      (DQ (s/) ($ VSub_Name '$ESC') (Lit_Other '\\') ('[') 
                                        (Lit_Other '\\') ('(.*') (Lit_Other '\\') (')m/') (Lit_Other '\\') (1/)
                                      )
                                    }
                                  )
                                ]
                                negated: F
                              )
                            ]
                          )
                        left_token: <Left_Backtick '`'>
                        spids: [328 351]
                      )
                    }
                  spids: [327]
                )
              ]
              spids: [327]
            )
          ]
          spids: [189 223]
        )
      ]
      else_action: [
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:color_when) op:Equal rhs:{(auto)} spids:[356])]
          spids: [356]
        )
      ]
      spids: [353 359]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:ls) op:Equal rhs:{(ls)} spids:[362])]
      spids: [362]
    )
    (AndOr
      ops: [Op_DPipe Op_DPipe]
      children: [
        (BraceGroup
          children: [
            (Sentence
              child: 
                (SimpleCommand
                  words: [{(ls)} {(--color)} {(-d)} {(.)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 16777215
                      arg_word: {(/dev/null)}
                      spids: [378]
                    )
                    (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[381])
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          spids: [368]
        )
        (BraceGroup
          children: [
            (Sentence
              child: 
                (AndOr
                  ops: [Op_DAmp]
                  children: [
                    (SimpleCommand
                      words: [{(gls)} {(--color)} {(-d)} {(.)}]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(/dev/null)}
                          spids: [399]
                        )
                        (Redir
                          op_id: Redir_GreatAnd
                          fd: 2
                          arg_word: {(1)}
                          spids: [402]
                        )
                      ]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:ls) op:Equal rhs:{(gls)} spids:[407])]
                      spids: [407]
                    )
                  ]
                )
              terminator: <Op_Semi ';'>
            )
          ]
          spids: [389]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:NONGNU) op:Equal rhs:{(1)} spids:[415])]
          spids: [415]
        )
      ]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$color_when'))} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$NONGNU'))} {(Lit_Other ']')})
                      terminator: <Op_Semi ';'>
                    )
                  ]
                  action: [
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (BraceGroup
                          children: [
                            (Sentence
                              child: (C {(colorls)} {(-d)} {(.)})
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [458]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [461]
                            )
                          ]
                          spids: [447]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:ls)
                              op: Equal
                              rhs: {(colorls)}
                              spids: [466]
                            )
                          ]
                          spids: [466]
                        )
                      ]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (SimpleCommand
                          words: [{($ VSub_Name '$ls')} {(-G)} {(-d)} {(.)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 16777215
                              arg_word: {(/dev/null)}
                              spids: [481]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [484]
                            )
                          ]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:color_opt)
                              op: Equal
                              rhs: {(-G)}
                              spids: [489]
                            )
                          ]
                          spids: [489]
                        )
                      ]
                    )
                    (AndOr
                      ops: [Op_DAmp]
                      children: [
                        (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$color_when'))} {(Lit_Other '=')} 
                          {(DQ (always))} {(Lit_Other ']')}
                        )
                        (BraceGroup
                          children: [
                            (Sentence
                              child: 
                                (Assignment
                                  keyword: Assign_None
                                  pairs: [
                                    (assign_pair
                                      lhs: (LhsName name:CLICOLOR_FORCE)
                                      op: Equal
                                      rhs: {(1)}
                                      spids: [514]
                                    )
                                  ]
                                  spids: [514]
                                )
                              terminator: <Op_Semi ';'>
                            )
                            (Sentence
                              child: (C {(export)} {(CLICOLOR_FORCE)})
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          spids: [512]
                        )
                      ]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:color_when)
                          op: Equal
                          rhs: {(EmptyPart)}
                          spids: [526]
                        )
                      ]
                      spids: [526]
                    )
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:LSCOLORS)
                              op: Equal
                              rhs: {(DQ (ExGxcxdxCxegedCxCxExEx))}
                              spids: [542]
                            )
                          ]
                          spids: [542]
                        )
                      terminator: <Op_Semi ';'>
                    )
                    (C {(export)} {(LSCOLORS)})
                  ]
                  spids: [16777215 444]
                )
              ]
              else_action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:color_opt)
                      op: Equal
                      rhs: {(SQ <'--color='>)}
                      spids: [556]
                    )
                  ]
                  spids: [556]
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:color_never)
                      op: Equal
                      rhs: {(DQ ('--color=never'))}
                      spids: [562]
                    )
                  ]
                  spids: [562]
                )
                (AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$LS_COLORS'))} {(Lit_Other ']')})
                    (C {(eval)} 
                      {
                        (CommandSubPart
                          command_list: (CommandList children:[(C {(dircolors)})])
                          left_token: <Left_Backtick '`'>
                          spids: [584 586]
                        )
                      }
                    )
                  ]
                )
                (AndOr
                  ops: [Op_DPipe]
                  children: [
                    (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$LS_COLORS'))} {(Lit_Other ']')})
                    (C {(eval)} 
                      {
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (SimpleCommand
                                  words: [{(dircolors)}]
                                  more_env: [(env_pair name:TERM val:{(xterm)} spids:[606])]
                                )
                              ]
                            )
                          left_token: <Left_Backtick '`'>
                          spids: [605 610]
                        )
                      }
                    )
                  ]
                )
                (Sentence
                  child: 
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:LS_COLORS)
                          op: Equal
                          rhs: {(DQ (':') ($ VSub_Name '$LS_COLORS') (':'))}
                          spids: [667]
                        )
                      ]
                      spids: [667]
                    )
                  terminator: <Op_Semi ';'>
                )
                (C {(export)} {(LS_COLORS)})
                (If
                  arms: [
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (Pipeline
                              children: [
                                (C {(dircolors)})
                                (SimpleCommand
                                  words: [{(grep)} {(-F)} {(DQ (':mh='))}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [703]
                                    )
                                  ]
                                )
                              ]
                              negated: F
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:hl_no_color)
                              op: Equal
                              rhs: {(DQ ('s/:hl=[^:]*:/:mh=:/; s/:mh=[^:]*:/:mh=:/'))}
                              spids: [710]
                            )
                          ]
                          spids: [710]
                        )
                      ]
                      spids: [16777215 707]
                    )
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (Pipeline
                              children: [
                                (C {(dircolors)})
                                (SimpleCommand
                                  words: [{(grep)} {(-F)} {(DQ ('hl='))}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: 16777215
                                      arg_word: {(/dev/null)}
                                      spids: [730]
                                    )
                                  ]
                                )
                              ]
                              negated: F
                            )
                          terminator: <Op_Semi ';'>
                        )
                      ]
                      action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:hl_no_color)
                              op: Equal
                              rhs: {(DQ ('s/:mh=[^:]*:/:hl=:/; s/:hl=[^:]*:/:hl=:/'))}
                              spids: [737]
                            )
                          ]
                          spids: [737]
                        )
                      ]
                      spids: [716 734]
                    )
                  ]
                  spids: [16777215 743]
                )
                (C {(eval)} 
                  {
                    (DQ 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(echo)} 
                                    {(Lit_VarLike 'LS_COLORS=') 
                                      (EscapedLiteralPart
                                        token: <Lit_EscapedChar "\\'">
                                      ) (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) ($ VSub_Name '$LS_COLORS') 
                                      (EscapedLiteralPart
                                        token: <Lit_EscapedChar '\\"'>
                                      ) (EscapedLiteralPart token:<Lit_EscapedChar "\\'">) (EscapedLiteralPart token:<Lit_EscapedChar '\\;'>)
                                    }
                                  )
                                  (C {(sed)} {(EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)})
                                ]
                                negated: F
                              )
                              (C {($ VSub_Name '$hl_no_color')})
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'su=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (Lit_Other '*') (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'su=') 
                                  (Lit_Other ':') (/)
                                }
                              )
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'sg=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (Lit_Other '*') (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'sg=') 
                                  (Lit_Other ':') (/)
                                }
                              )
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'ow=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (Lit_Other '*') (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'ow=') 
                                  (Lit_Other ':') (/)
                                }
                              )
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'st=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (Lit_Other '*') (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'st=') 
                                  (Lit_Other ':') (/)
                                }
                              )
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'tw=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (Lit_Other '*') (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'tw=') 
                                  (Lit_Other ':') (/)
                                }
                              )
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'ca=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (Lit_Other '*') (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'ca=') 
                                  (Lit_Other ':') (/)
                                }
                              )
                              (C 
                                {(s/) (Lit_Other ':') (Lit_VarLike 'mi=') (Lit_Other '[') 
                                  (Lit_Other '^') (Lit_Other ':') (Lit_Other ']') (EscapedLiteralPart token:<Lit_EscapedChar '\\{'>) (1) (Lit_Comma ',') 
                                  (EscapedLiteralPart
                                    token: <Lit_EscapedChar '\\}'>
                                  ) (Lit_Other ':') (/) (Lit_Other ':') (Lit_VarLike 'mi=') ($ VSub_Name '$LS_HLI') (Lit_Other ':') (/)
                                }
                              )
                              (C {(EscapedLiteralPart token:<Lit_EscapedChar '\\"'>)})
                              (C {(echo)} {(SQ <'export LS_COLORS'>)})
                            ]
                          )
                        left_token: <Left_Backtick '`'>
                        spids: [766 920]
                      )
                    )
                  }
                )
              ]
              spids: [553 924]
            )
          ]
          spids: [16777215 430]
        )
      ]
      spids: [16777215 926]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:total)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [
                      (Pipeline
                        children: [
                          (C {($ VSub_Name '$ls')} {(-s)} {($ VSub_Name '$color_never')} {(/)})
                          (C {(sed)} {(SQ <'s/\\([^ ]*\\).*/\\1/;q'>)})
                        ]
                        negated: F
                      )
                    ]
                  )
                left_token: <Left_Backtick '`'>
                spids: [932 948]
              )
            }
          spids: [931]
        )
      ]
      spids: [931]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (SimpleCommand
          words: [{($ VSub_Name '$ls')} {(--group-directories-first)} {(-d)} {(.)}]
          redirects: [
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[962])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[965])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:gdf)
              op: Equal
              rhs: {(--group-directories)}
              spids: [970]
            )
          ]
          spids: [970]
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (SimpleCommand
          words: [{($ VSub_Name '$ls')} {(--no-group)} {(-d)} {(.)}]
          redirects: [
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[981])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[984])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:ng) op:Equal rhs:{(--no-group)} spids:[989])]
          spids: [989]
        )
      ]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (SimpleCommand
          words: [{($ VSub_Name '$ls')} {(--quoting) (Lit_Other '=') (shell-escape)} {(-d)} {(.)}]
          redirects: [
            (Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[1002])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[1005])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:quote)
              op: Equal
              rhs: {(--quoting) (Lit_Other '=') (shell-escape)}
              spids: [1010]
            )
          ]
          spids: [1010]
        )
      ]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:lfmt) op:Equal rhs:{(lfmt)} spids:[1022])]
      spids: [1022]
    )
    (AndOr
      ops: [Op_DAmp]
      children: [
        (Pipeline
          children: [
            (C {(echo)} {(DQ ($ VSub_Star '$*'))})
            (SimpleCommand
              words: [{(grep)} {(-E)} {(--)} {(DQ ('-(m|i|x|s|C|-version|-help)'))}]
              redirects: [(Redir op_id:Redir_Great fd:16777215 arg_word:{(/dev/null)} spids:[1043])]
            )
          ]
          negated: F
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:lfmt) op:Equal rhs:{(DQ )} spids:[1048])]
          spids: [1048]
        )
      ]
    )
    (SimpleCommand
      words: [{(exec)}]
      redirects: [(Redir op_id:Redir_GreatAnd fd:4 arg_word:{(1)} spids:[1065])]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:ls_status)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [
                      (BraceGroup
                        children: [
                          (Sentence
                            child: 
                              (Pipeline
                                children: [
                                  (BraceGroup
                                    children: [
                                      (Sentence
                                        child: 
                                          (C {($ VSub_Name '$ls')} {(-lrtq)} 
                                            {($ VSub_Name '$color_opt') ($ VSub_Name '$color_when')} {($ VSub_Name '$ng')} {($ VSub_Name '$gdf')} {($ VSub_Name '$quote')} {(DQ ($ VSub_At '$@'))}
                                          )
                                        terminator: <Op_Semi ';'>
                                      )
                                      (Sentence
                                        child: 
                                          (SimpleCommand
                                            words: [{(printf)} {($ VSub_QMark '$?')}]
                                            redirects: [
                                              (Redir
                                                op_id: Redir_GreatAnd
                                                fd: 1
                                                arg_word: {(3)}
                                                spids: [1103]
                                              )
                                            ]
                                          )
                                        terminator: <Op_Semi ';'>
                                      )
                                    ]
                                    spids: [1072]
                                  )
                                  (SimpleCommand
                                    words: [
                                      {(sed)}
                                      {
                                        (DQ ('\n') ('  # Remove total line(s) I never use\n') ('  /') 
                                          ($ VSub_Name '$total') (' [0-9,. ]') (Lit_Other '\\') ('{1,') (Lit_Other '\\') ('}') (Lit_Other '$') ('/d\n') ('\n') 
                                          ('  # prettify symlink arrows\n') ('  s/ -> / ') ($ VSub_Name '$BLD') ($ VSub_Name '$SYM_ARROW') ($ VSub_Name '$RST') (' /\n') ('\n') 
                                          ('  # Conditionally process long format output\n') ('  b ') ($ VSub_Name '$lfmt') ('\n') ('  :lfmt\n') ('\n') ('  # Ignore directory name headings\n') 
                                          ('  /^[^ ]') (Lit_Other '\\') ('{1,') (Lit_Other '\\') ('}:') (Lit_Other '$') ('/b\n') ('\n') 
                                          ('  # temporarily shrink any prepended reset codes\n') ("  # from older ls' to a single char\n") ('  s/^') ($ VSub_Name '$ESC') (Lit_Other '\\') ('[0*m/0/\n') 
                                          ('\n') ('  # highlight ug+s indicators\n') ('  s/^') (Lit_Other '\\') ('(0') (Lit_Other '\\') ('{0,1') 
                                          (Lit_Other '\\') ('}.') (Lit_Other '\\') ('{3') (Lit_Other '\\') ('}') (Lit_Other '\\') (')') (Lit_Other '\\') ('([sS]') 
                                          (Lit_Other '\\') (')/') (Lit_Other '\\') (1) ($ VSub_Name '$HLI') (Lit_Other '\\') (2) ($ VSub_Name '$RST') ('/\n') ('  s/^') 
                                          (Lit_Other '\\') ('(0') (Lit_Other '\\') ('{0,1') (Lit_Other '\\') ('}.') (Lit_Other '\\') ('{6') (Lit_Other '\\') ('}') 
                                          (Lit_Other '\\') (')') (Lit_Other '\\') ('([sS]') (Lit_Other '\\') (')/') (Lit_Other '\\') (1) ($ VSub_Name '$HLI') 
                                          (Lit_Other '\\') (2) ($ VSub_Name '$RST') ('/\n') ('\n') ('  # highlight +t o+w indicators for directories\n') ('  /^0') 
                                          (Lit_Other '\\') ('{0,1') (Lit_Other '\\') ('}d/!b not_dir\n') ('  s/^') (Lit_Other '\\') ('(0') (Lit_Other '\\') ('{0,1') 
                                          (Lit_Other '\\') ('}.') (Lit_Other '\\') ('{9') (Lit_Other '\\') ('}') (Lit_Other '\\') (')') (Lit_Other '\\') ('([tT]') 
                                          (Lit_Other '\\') (')/') (Lit_Other '\\') (1) ($ VSub_Name '$HLI') (Lit_Other '\\') (2) ($ VSub_Name '$RST') ('/\n') ('  s/^') 
                                          (Lit_Other '\\') ('(0') (Lit_Other '\\') ('{0,1') (Lit_Other '\\') ('}.') (Lit_Other '\\') ('{8') (Lit_Other '\\') ('}') 
                                          (Lit_Other '\\') (')w/') (Lit_Other '\\') (1) (${ VSub_Name HLI) (w) ($ VSub_Name '$RST') ('/\n') ('  s/^') (Lit_Other '\\') 
                                          ('(0') (Lit_Other '\\') ('{0,1') (Lit_Other '\\') ('}.') (Lit_Other '\\') ('{3') (Lit_Other '\\') ('}') 
                                          (Lit_Other '\\') (')') (Lit_Other '\\') ('([sS]') (Lit_Other '\\') (')/') (Lit_Other '\\') (1) ($ VSub_Name '$HLI') 
                                          (Lit_Other '\\') (2) ($ VSub_Name '$RST') ('/\n') ('  s/^') (Lit_Other '\\') ('(0') (Lit_Other '\\') ('{0,1') (Lit_Other '\\') 
                                          ('}.') (Lit_Other '\\') ('{6') (Lit_Other '\\') ('}') (Lit_Other '\\') (')') (Lit_Other '\\') ('([sS]') 
                                          (Lit_Other '\\') (')/') (Lit_Other '\\') (1) ($ VSub_Name '$HLI') (Lit_Other '\\') (2) ($ VSub_Name '$RST') ('/\n') 
                                          ('  :not_dir\n') ('\n') ('  # highlight multiply linked files\n') ('  /^0') (Lit_Other '\\') ('{0,1') (Lit_Other '\\') 
                                          ('}[^d]') (Lit_Other '\\') ('{10,') (Lit_Other '\\') ('}/!b not_hl\n') ('  /^[^ ]* *1 /b not_hl\n') ('  s/^') 
                                          (Lit_Other '\\') ('(0') (Lit_Other '\\') ('{0,1') (Lit_Other '\\') ('}[^ ]*') (Lit_Other '\\') (')') (Lit_Other '\\') ('( *') 
                                          (Lit_Other '\\') (')') (Lit_Other '\\') ('([0-9]') (Lit_Other '\\') ('{1,') (Lit_Other '\\') ('}') (Lit_Other '\\') (')/') 
                                          (Lit_Other '\\') (1) (Lit_Other '\\') (2) ($ VSub_Name '$HLI') (Lit_Other '\\') (3) ($ VSub_Name '$RST') ('/\n') 
                                          ('  :not_hl\n') ('\n') ('  # restore any reset codes replaced above\n') ('  s/^0/') (${ VSub_Name ESC) ('[0m/\n')
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 1
                                        arg_word: {(4)}
                                        spids: [1361]
                                      )
                                    ]
                                  )
                                ]
                                negated: F
                              )
                            terminator: <Op_Semi ';'>
                          )
                        ]
                        redirects: [(Redir op_id:Redir_GreatAnd fd:3 arg_word:{(1)} spids:[1367])]
                        spids: [1070]
                      )
                    ]
                  )
                left_token: <Left_Backtick '`'>
                spids: [1069 1369]
              )
            }
          spids: [1068]
        )
      ]
      spids: [1068]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:sed_status)
          op: Equal
          rhs: {($ VSub_QMark '$?')}
          spids: [1372]
        )
      ]
      spids: [1372]
    )
    (AndOr
      ops: [Op_DAmp Op_DPipe]
      children: [
        (C {(test)} {($ VSub_Name '$ls_status')} {(KW_Bang '!') (Lit_Other '=')} {(0)})
        (ControlFlow token:<ControlFlow_Exit exit> arg_word:{($ VSub_Name '$ls_status')})
        (ControlFlow token:<ControlFlow_Exit exit> arg_word:{($ VSub_Name '$sed_status')})
      ]
    )
  ]
)