(command.CommandList
  children: [
    (command.Simple
      blame_tok: <Id.Lit_Colon ':'>
      more_env: []
      words: [{<Id.Lit_Colon ':'>}]
      redirects: []
      do_fork: T
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'sanitize_diff_raw='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'sanitize_diff_raw='>
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'sanitize_diff_raw='> name:sanitize_diff_raw)
          op: assign_op.Equal
          rhs: 
            {(SQ <'/^:/s/ '>) 
              (DQ <Id.Lit_BadBackslash '\\'> <'('> ($ Id.VSub_DollarName _x40) 
                <Id.Lit_BadBackslash '\\'> <')'>
              ) (SQ <' '>) 
              (DQ <Id.Lit_BadBackslash '\\'> <'('> ($ Id.VSub_DollarName _x40) 
                <Id.Lit_BadBackslash '\\'> <')'>
              ) (SQ <' \\([A-Z]\\)[0-9]*\t/ \\1 \\2 \\3#\t/'>)
            }
        )
      ]
      redirects: []
    )
    (command.ShFunction
      name_tok: <compare_diff_raw>
      name: compare_diff_raw
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <sed>
              more_env: []
              words: [{<sed>} {<-e>} {(DQ ($ Id.VSub_DollarName sanitize_diff_raw))}]
              redirects: [
                (Redir
                  op: <Id.Redir_Less '<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: {(DQ ($ Id.VSub_Number 1))}
                )
                (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<.tmp-1>})
              ]
              do_fork: T
            )
            (command.Simple
              blame_tok: <sed>
              more_env: []
              words: [{<sed>} {<-e>} {(DQ ($ Id.VSub_DollarName sanitize_diff_raw))}]
              redirects: [
                (Redir
                  op: <Id.Redir_Less '<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: {(DQ ($ Id.VSub_Number 2))}
                )
                (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<.tmp-2>})
              ]
              do_fork: T
            )
            (command.AndOr
              children: [
                (command.Simple
                  blame_tok: <test_cmp>
                  more_env: []
                  words: [{<test_cmp>} {<.tmp-1>} {<.tmp-2>}]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <rm>
                  more_env: []
                  words: [{<rm>} {<-f>} {<.tmp-1>} {<.tmp-2>}]
                  redirects: []
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShAssignment
      left: <Id.Lit_VarLike 'sanitize_diff_raw_z='>
      pairs: [
        (AssignPair
          left: <Id.Lit_VarLike 'sanitize_diff_raw_z='>
          lhs: 
            (sh_lhs_expr.Name
              left: <Id.Lit_VarLike 'sanitize_diff_raw_z='>
              name: sanitize_diff_raw_z
            )
          op: assign_op.Equal
          rhs: 
            {(SQ <'/^:/s/ '>) (DQ ($ Id.VSub_DollarName _x40)) (SQ <' '>) 
              (DQ ($ Id.VSub_DollarName _x40)) (SQ <' \\([A-Z]\\)[0-9]*$/ X X \\1#/'>)
            }
        )
      ]
      redirects: []
    )
    (command.ShFunction
      name_tok: <compare_diff_raw_z>
      name: compare_diff_raw_z
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Pipeline
              children: [
                (command.Simple
                  blame_tok: <perl>
                  more_env: []
                  words: [{<perl>} {<-pe>} {(SQ <'y/\\000/\\012/'>)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Less '<'>
                      loc: (redir_loc.Fd fd:0)
                      arg: {(DQ ($ Id.VSub_Number 1))}
                    )
                  ]
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <sed>
                  more_env: []
                  words: [{<sed>} {<-e>} {(DQ ($ Id.VSub_DollarName sanitize_diff_raw_z))}]
                  redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<.tmp-1>})]
                  do_fork: T
                )
              ]
              ops: [<Id.Op_Pipe _>]
            )
            (command.Pipeline
              children: [
                (command.Simple
                  blame_tok: <perl>
                  more_env: []
                  words: [{<perl>} {<-pe>} {(SQ <'y/\\000/\\012/'>)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Less '<'>
                      loc: (redir_loc.Fd fd:0)
                      arg: {(DQ ($ Id.VSub_Number 2))}
                    )
                  ]
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <sed>
                  more_env: []
                  words: [{<sed>} {<-e>} {(DQ ($ Id.VSub_DollarName sanitize_diff_raw_z))}]
                  redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<.tmp-2>})]
                  do_fork: T
                )
              ]
              ops: [<Id.Op_Pipe _>]
            )
            (command.AndOr
              children: [
                (command.Simple
                  blame_tok: <test_cmp>
                  more_env: []
                  words: [{<test_cmp>} {<.tmp-1>} {<.tmp-2>}]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <rm>
                  more_env: []
                  words: [{<rm>} {<-f>} {<.tmp-1>} {<.tmp-2>}]
                  redirects: []
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <compare_diff_patch>
      name: compare_diff_patch
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <sed>
              more_env: []
              words: [
                {<sed>}
                {<-e>}
                {
                  (SQ <'\n'> <'\t/^[dis]*imilarity index [0-9]*%$/d\n'> 
                    <'\t/^index [0-9a-f]*\\.\\.[0-9a-f]/d\n'> <'    '>
                  )
                }
              ]
              redirects: [
                (Redir
                  op: <Id.Redir_Less '<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: {(DQ ($ Id.VSub_Number 1))}
                )
                (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<.tmp-1>})
              ]
              do_fork: T
            )
            (command.Simple
              blame_tok: <sed>
              more_env: []
              words: [
                {<sed>}
                {<-e>}
                {
                  (SQ <'\n'> <'\t/^[dis]*imilarity index [0-9]*%$/d\n'> 
                    <'\t/^index [0-9a-f]*\\.\\.[0-9a-f]/d\n'> <'    '>
                  )
                }
              ]
              redirects: [
                (Redir
                  op: <Id.Redir_Less '<'>
                  loc: (redir_loc.Fd fd:0)
                  arg: {(DQ ($ Id.VSub_Number 2))}
                )
                (Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<.tmp-2>})
              ]
              do_fork: T
            )
            (command.AndOr
              children: [
                (command.Simple
                  blame_tok: <test_cmp>
                  more_env: []
                  words: [{<test_cmp>} {<.tmp-1>} {<.tmp-2>}]
                  redirects: []
                  do_fork: T
                )
                (command.Simple
                  blame_tok: <rm>
                  more_env: []
                  words: [{<rm>} {<-f>} {<.tmp-1>} {<.tmp-2>}]
                  redirects: []
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
  ]
)