(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:-1 arg_word:{(/dev/null)} spids:[112])]
                    )
                  ]
                  negated: False
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:SYM_ARROW)
                  op: Equal
                  rhs: {(DQ ("\u25aa\u25b6"))}
                  spids: [119]
                )
              ]
              spids: [119]
            )
          ]
          spids: [-1 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
                  children: [
                    (Pipeline
                      children: [
                        (SimpleCommand
                          words: [{(tput)} {(setaf)} {(1)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              arg_word: {(/dev/null)}
                              spids: [158]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [161]
                            )
                          ]
                        )
                      ]
                      negated: True
                    )
                    (Pipeline
                      children: [
                        (SimpleCommand
                          words: [{(tput)} {(AF)} {(1)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              arg_word: {(/dev/null)}
                              spids: [174]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [177]
                            )
                          ]
                        )
                      ]
                      negated: True
                    )
                  ]
                  op_id: Op_DAmp
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:color_when) op:Equal rhs:{(SQ )} spids:[184])]
              spids: [184]
            )
          ]
          spids: [-1 181]
        )
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  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: -1
                              arg_word: {(/dev/null)}
                              spids: [219]
                            )
                          ]
                        )
                      ]
                      negated: False
                    )
                  ]
                  op_id: Op_DPipe
                )
              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: -1
                              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: [-1 251]
                )
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (SimpleCommand
                          words: [{(tput)} {(md)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              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: [-1 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") 
                                        (EscapedLiteralPart
                                          token: <Lit_EscapedChar "\\[">
                                        ) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (".*") 
                                        (EscapedLiteralPart
                                          token: <Lit_EscapedChar "\\)">
                                        ) (m/) (EscapedLiteralPart token:<Lit_EscapedChar "\\1">) (/)
                                      )
                                    }
                                  )
                                ]
                                negated: False
                              )
                            ]
                          )
                        left_token: <Left_Backtick "`">
                        spids: [328 350]
                      )
                    }
                  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:[355])]
          spids: [355]
        )
      ]
      spids: [352 358]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:ls) op:Equal rhs:{(ls)} spids:[361])]
      spids: [361]
    )
    (AndOr
      children: [
        (BraceGroup
          children: [
            (Sentence
              child: 
                (SimpleCommand
                  words: [{(ls)} {(--color)} {(-d)} {(.)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(/dev/null)}
                      spids: [377]
                    )
                    (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[380])
                  ]
                )
              terminator: <Op_Semi ";">
            )
          ]
          spids: [367]
        )
        (AndOr
          children: [
            (BraceGroup
              children: [
                (Sentence
                  child: 
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [{(gls)} {(--color)} {(-d)} {(.)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              arg_word: {(/dev/null)}
                              spids: [398]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [401]
                            )
                          ]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:ls)
                              op: Equal
                              rhs: {(gls)}
                              spids: [406]
                            )
                          ]
                          spids: [406]
                        )
                      ]
                      op_id: Op_DAmp
                    )
                  terminator: <Op_Semi ";">
                )
              ]
              spids: [388]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:NONGNU) op:Equal rhs:{(1)} spids:[414])]
              spids: [414]
            )
          ]
          op_id: Op_DPipe
        )
      ]
      op_id: Op_DPipe
    )
    (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
                      children: [
                        (BraceGroup
                          children: [
                            (Sentence
                              child: (C {(colorls)} {(-d)} {(.)})
                              terminator: <Op_Semi ";">
                            )
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              arg_word: {(/dev/null)}
                              spids: [457]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [460]
                            )
                          ]
                          spids: [446]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:ls)
                              op: Equal
                              rhs: {(colorls)}
                              spids: [465]
                            )
                          ]
                          spids: [465]
                        )
                      ]
                      op_id: Op_DAmp
                    )
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [{($ VSub_Name "$ls")} {(-G)} {(-d)} {(.)}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              arg_word: {(/dev/null)}
                              spids: [480]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [483]
                            )
                          ]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:color_opt)
                              op: Equal
                              rhs: {(-G)}
                              spids: [488]
                            )
                          ]
                          spids: [488]
                        )
                      ]
                      op_id: Op_DAmp
                    )
                    (AndOr
                      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: [513]
                                    )
                                  ]
                                  spids: [513]
                                )
                              terminator: <Op_Semi ";">
                            )
                            (Sentence
                              child: (C {(export)} {(CLICOLOR_FORCE)})
                              terminator: <Op_Semi ";">
                            )
                          ]
                          spids: [511]
                        )
                      ]
                      op_id: Op_DAmp
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:color_when)
                          op: Equal
                          rhs: {(SQ )}
                          spids: [525]
                        )
                      ]
                      spids: [525]
                    )
                    (Sentence
                      child: 
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:LSCOLORS)
                              op: Equal
                              rhs: {(DQ (ExGxcxdxCxegedCxCxExEx))}
                              spids: [541]
                            )
                          ]
                          spids: [541]
                        )
                      terminator: <Op_Semi ";">
                    )
                    (C {(export)} {(LSCOLORS)})
                  ]
                  spids: [-1 443]
                )
              ]
              else_action: [
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:color_opt)
                      op: Equal
                      rhs: {(SQ <"--color=">)}
                      spids: [555]
                    )
                  ]
                  spids: [555]
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:color_never)
                      op: Equal
                      rhs: {(DQ ("--color=never"))}
                      spids: [561]
                    )
                  ]
                  spids: [561]
                )
                (AndOr
                  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: [583 585]
                        )
                      }
                    )
                  ]
                  op_id: Op_DPipe
                )
                (AndOr
                  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:[605])]
                                )
                              ]
                            )
                          left_token: <Left_Backtick "`">
                          spids: [604 609]
                        )
                      }
                    )
                  ]
                  op_id: Op_DPipe
                )
                (Sentence
                  child: 
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:LS_COLORS)
                          op: Equal
                          rhs: {(DQ (":") ($ VSub_Name "$LS_COLORS") (":"))}
                          spids: [666]
                        )
                      ]
                      spids: [666]
                    )
                  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: -1
                                      arg_word: {(/dev/null)}
                                      spids: [702]
                                    )
                                  ]
                                )
                              ]
                              negated: False
                            )
                          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: [709]
                            )
                          ]
                          spids: [709]
                        )
                      ]
                      spids: [-1 706]
                    )
                    (if_arm
                      cond: [
                        (Sentence
                          child: 
                            (Pipeline
                              children: [
                                (C {(dircolors)})
                                (SimpleCommand
                                  words: [{(grep)} {(-F)} {(DQ ("hl="))}]
                                  redirects: [
                                    (Redir
                                      op_id: Redir_Great
                                      fd: -1
                                      arg_word: {(/dev/null)}
                                      spids: [729]
                                    )
                                  ]
                                )
                              ]
                              negated: False
                            )
                          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: [736]
                            )
                          ]
                          spids: [736]
                        )
                      ]
                      spids: [715 733]
                    )
                  ]
                  spids: [-1 742]
                )
                (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: False
                              )
                              (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: [765 919]
                      )
                    )
                  }
                )
              ]
              spids: [552 923]
            )
          ]
          spids: [-1 429]
        )
      ]
      spids: [-1 925]
    )
    (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: False
                      )
                    ]
                  )
                left_token: <Left_Backtick "`">
                spids: [931 947]
              )
            }
          spids: [930]
        )
      ]
      spids: [930]
    )
    (AndOr
      children: [
        (SimpleCommand
          words: [{($ VSub_Name "$ls")} {(--group-directories-first)} {(-d)} {(.)}]
          redirects: [
            (Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[961])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[964])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:gdf)
              op: Equal
              rhs: {(--group-directories)}
              spids: [969]
            )
          ]
          spids: [969]
        )
      ]
      op_id: Op_DAmp
    )
    (AndOr
      children: [
        (SimpleCommand
          words: [{($ VSub_Name "$ls")} {(--no-group)} {(-d)} {(.)}]
          redirects: [
            (Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[980])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[983])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:ng) op:Equal rhs:{(--no-group)} spids:[988])]
          spids: [988]
        )
      ]
      op_id: Op_DAmp
    )
    (AndOr
      children: [
        (SimpleCommand
          words: [{($ VSub_Name "$ls")} {(--quoting) (Lit_Other "=") (shell-escape)} {(-d)} {(.)}]
          redirects: [
            (Redir op_id:Redir_Great fd:-1 arg_word:{(/dev/null)} spids:[1001])
            (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[1004])
          ]
        )
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:quote)
              op: Equal
              rhs: {(--quoting) (Lit_Other "=") (shell-escape)}
              spids: [1009]
            )
          ]
          spids: [1009]
        )
      ]
      op_id: Op_DAmp
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:lfmt) op:Equal rhs:{(lfmt)} spids:[1021])]
      spids: [1021]
    )
    (AndOr
      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:-1 arg_word:{(/dev/null)} spids:[1042])]
            )
          ]
          negated: False
        )
        (Assignment
          keyword: Assign_None
          pairs: [(assign_pair lhs:(LhsName name:lfmt) op:Equal rhs:{(DQ )} spids:[1047])]
          spids: [1047]
        )
      ]
      op_id: Op_DAmp
    )
    (SimpleCommand
      words: [{(exec)}]
      redirects: [(Redir op_id:Redir_GreatAnd fd:4 arg_word:{(1)} spids:[1064])]
    )
    (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: [1102]
                                              )
                                            ]
                                          )
                                        terminator: <Op_Semi ";">
                                      )
                                    ]
                                    spids: [1071]
                                  )
                                  (SimpleCommand
                                    words: [
                                      {(sed)}
                                      {
                                        (DQ ("\n") ("  # Remove total line(s) I never use\n") ("  /") 
                                          ($ VSub_Name "$total") (" [0-9,. ]") (EscapedLiteralPart token:<Lit_EscapedChar "\\{">) ("1,") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\}">
                                          ) (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") ("  /^[^ ]") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("1,") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) (":") (Lit_Other "$") ("/b\n") ("\n") 
                                          ("  # temporarily shrink any prepended reset codes\n") ("  # from older ls' to a single char\n") ("  s/^") ($ VSub_Name "$ESC") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\[">
                                          ) ("0*m/0/\n") ("\n") ("  # highlight ug+s indicators\n") ("  s/^") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\(">
                                          ) (0) (EscapedLiteralPart token:<Lit_EscapedChar "\\{">) ("0,1") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\}">
                                          ) (.) (EscapedLiteralPart token:<Lit_EscapedChar "\\{">) (3) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\}">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\)">) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) 
                                          ("[sS]") (EscapedLiteralPart token:<Lit_EscapedChar "\\)">) (/) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\1">
                                          ) ($ VSub_Name "$HLI") (EscapedLiteralPart token:<Lit_EscapedChar "\\2">) ($ VSub_Name "$RST") ("/\n") 
                                          ("  s/^") (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (0) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) (.) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) (6) (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) ("[sS]") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (/) (EscapedLiteralPart token:<Lit_EscapedChar "\\1">) ($ VSub_Name "$HLI") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\2">
                                          ) ($ VSub_Name "$RST") ("/\n") ("\n") ("  # highlight +t o+w indicators for directories\n") ("  /^0") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) ("d/!b not_dir\n") ("  s/^") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\(">
                                          ) (0) (EscapedLiteralPart token:<Lit_EscapedChar "\\{">) ("0,1") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\}">
                                          ) (.) (EscapedLiteralPart token:<Lit_EscapedChar "\\{">) (9) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\}">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\)">) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) 
                                          ("[tT]") (EscapedLiteralPart token:<Lit_EscapedChar "\\)">) (/) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\1">
                                          ) ($ VSub_Name "$HLI") (EscapedLiteralPart token:<Lit_EscapedChar "\\2">) ($ VSub_Name "$RST") ("/\n") 
                                          ("  s/^") (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (0) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) (.) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) (8) (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (w/) (EscapedLiteralPart token:<Lit_EscapedChar "\\1">) (${ VSub_Name HLI) (w) ($ VSub_Name "$RST") 
                                          ("/\n") ("  s/^") (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (0) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) (.) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) (3) (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) ("[sS]") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (/) (EscapedLiteralPart token:<Lit_EscapedChar "\\1">) ($ VSub_Name "$HLI") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\2">
                                          ) ($ VSub_Name "$RST") ("/\n") ("  s/^") (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (0) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) (.) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) (6) (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) ("[sS]") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (/) (EscapedLiteralPart token:<Lit_EscapedChar "\\1">) ($ VSub_Name "$HLI") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\2">
                                          ) ($ VSub_Name "$RST") ("/\n") ("  :not_dir\n") ("\n") ("  # highlight multiply linked files\n") ("  /^0") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) ("[^d]") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("10,") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) ("/!b not_hl\n") ("  /^[^ ]* *1 /b not_hl\n") 
                                          ("  s/^") (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (0) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("0,1") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) ("[^ ]*") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) (" *") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (EscapedLiteralPart token:<Lit_EscapedChar "\\(">) ("[0-9]") 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\{">
                                          ) ("1,") (EscapedLiteralPart token:<Lit_EscapedChar "\\}">) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\)">
                                          ) (/) (EscapedLiteralPart token:<Lit_EscapedChar "\\1">) 
                                          (EscapedLiteralPart
                                            token: <Lit_EscapedChar "\\2">
                                          ) ($ VSub_Name "$HLI") (EscapedLiteralPart token:<Lit_EscapedChar "\\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: [1331]
                                      )
                                    ]
                                  )
                                ]
                                negated: False
                              )
                            terminator: <Op_Semi ";">
                          )
                        ]
                        redirects: [(Redir op_id:Redir_GreatAnd fd:3 arg_word:{(1)} spids:[1337])]
                        spids: [1069]
                      )
                    ]
                  )
                left_token: <Left_Backtick "`">
                spids: [1068 1339]
              )
            }
          spids: [1067]
        )
      ]
      spids: [1067]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:sed_status)
          op: Equal
          rhs: {($ VSub_QMark "$?")}
          spids: [1342]
        )
      ]
      spids: [1342]
    )
    (AndOr
      children: [
        (C {(test)} {($ VSub_Name "$ls_status")} {(KW_Bang "!") (Lit_Other "=")} {(0)})
        (AndOr
          children: [
            (C {(exit)} {($ VSub_Name "$ls_status")})
            (C {(exit)} {($ VSub_Name "$sed_status")})
          ]
          op_id: Op_DPipe
        )
      ]
      op_id: Op_DAmp
    )
  ]
)