(command.CommandList
  children: [
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'DATABASE='> name:DATABASE)
          op: assign_op.Equal
          rhs: {<audit_event.txt>}
          spids: [76]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'HEADER_FILE='> name:HEADER_FILE)
          op: assign_op.Equal
          rhs: {<audit_uevents.h>}
          spids: [79]
        )
      ]
      redirects: []
    )
    (command.ShAssignment
      pairs: [
        (assign_pair
          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'CR_YEAR='> name:CR_YEAR)
          op: assign_op.Equal
          rhs: 
            {
              (command_sub
                left_token: <Id.Left_Backtick '`'>
                child: (C {<'/usr/bin/date'>} {(SQ <'+%Y'>)})
                right: <Id.Backtick_Right '`'>
              )
            }
          spids: [82]
        )
      ]
      redirects: []
    )
    (command.Simple
      words: [{<cat>}]
      redirects: [
        (redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {<EOF>}
              here_end_span_id: 141
              stdin_parts: [
                <'/*\n'>
                <' * CDDL HEADER START\n'>
                <' *\n'>
                <' * The contents of this file are subject to the terms of the\n'>
                <' * Common Development and Distribution License (the '>
                <Id.Right_DoubleQuote '"'>
                <License>
                <Id.Right_DoubleQuote '"'>
                <').\n'>
                <' * You may not use this file except in compliance with the License.\n'>
                <' *\n'>
                <' * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE\n'>
                <' * or http://www.opensolaris.org/os/licensing.\n'>
                <' * See the License for the specific language governing permissions\n'>
                <' * and limitations under the License.\n'>
                <' *\n'>
                <' * When distributing Covered Code, include this CDDL HEADER in each\n'>
                <' * file and include the License file at usr/src/OPENSOLARIS.LICENSE.\n'>
                <' * If applicable, add the following below this CDDL HEADER, with the\n'>
                <' * fields enclosed by brackets '>
                <Id.Right_DoubleQuote '"'>
                <'[]'>
                <Id.Right_DoubleQuote '"'>
                <' replaced with your own identifying\n'>
                <' * information: Portions Copyright [yyyy] [name of copyright owner]\n'>
                <' *\n'>
                <' * CDDL HEADER END\n'>
                <' */\n'>
                <'/*\n'>
                <' * Copyright (c) 1992, '>
                ($ Id.VSub_DollarName CR_YEAR)
                <', Oracle and/or its affiliates. All rights reserved.\n'>
                <' */\n'>
                <'\n'>
                <'#ifndef\t_BSM_AUDIT_UEVENTS_H\n'>
                <'#define\t_BSM_AUDIT_UEVENTS_H\n'>
                <'\n'>
              ]
            )
        )
        (redir
          op: <Id.Redir_Great '>'>
          loc: (redir_loc.Fd fd:1)
          arg: {($ Id.VSub_DollarName HEADER_FILE)}
        )
      ]
      more_env: []
      do_fork: T
    )
    (command.Simple
      words: [{<cat>}]
      redirects: [
        (redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {<EOF>}
              here_end_span_id: 172
              stdin_parts: [
                <'\n'>
                <'/*\n'>
                <' * User level audit event numbers.\n'>
                <' *\n'>
                <' *     0\t\tReserved as an invalid event number.\n'>
                <' *     1 - 2047\t\tReserved for the Solaris Kernel events.\n'>
                <' *  2048 - 32767\tReserved for the Solaris TCB programs.\n'>
                <' * 32768 - 65535\tAvailable for third party TCB applications.\n'>
                <' *\n'>
                <' */\n'>
                <'\n'>
                <'#ifdef\t__cplusplus\n'>
                <'extern '>
                <Id.Right_DoubleQuote '"'>
                <C>
                <Id.Right_DoubleQuote '"'>
                <' {\n'>
                <'#endif\n'>
                <'\n'>
              ]
            )
        )
        (redir
          op: <Id.Redir_DGreat '>>'>
          loc: (redir_loc.Fd fd:1)
          arg: {($ Id.VSub_DollarName HEADER_FILE)}
        )
      ]
      more_env: []
      do_fork: T
    )
    (command.Simple
      words: [
        {<nawk>}
        {<-F> <Id.Lit_Colon ':'>}
        {
          (SQ <'{if ((NF == 4) && substr($1,0,1) != "#")\n'> <'\t\tif ($1 >= 2048) {\n'> 
            <'\t\t\ttlen = length($2);\n'> <'\n'> <'\t\t\tprintf("#define\\t%s\\t", $2)\n'> <'\t\t\tif (tlen < 8)\n'> <'\t\t\t\tprintf("\\t");\n'> 
            <'\t\t\tif (tlen < 16)\n'> <'\t\t\t\tprintf("\\t");\n'> <'\t\t\tif (tlen < 24)\n'> <'\t\t\t\tprintf("\\t");\n'> 
            <'\t\t\tprintf("%s\\n", $1);\n'> <'\t\t}\n'> <'\t  }'>
          )
        }
      ]
      redirects: [
        (redir
          op: <Id.Redir_Less '<'>
          loc: (redir_loc.Fd fd:0)
          arg: {($ Id.VSub_DollarName DATABASE)}
        )
        (redir
          op: <Id.Redir_DGreat '>>'>
          loc: (redir_loc.Fd fd:1)
          arg: {($ Id.VSub_DollarName HEADER_FILE)}
        )
      ]
      more_env: []
      do_fork: T
    )
    (command.Simple
      words: [{<cat>}]
      redirects: [
        (redir
          op: <Id.Redir_DLess '<<'>
          loc: (redir_loc.Fd fd:0)
          arg: 
            (redir_param.HereDoc
              here_begin: {<EOF>}
              here_end_span_id: 222
              stdin_parts: [
                <'\n'>
                <'#ifdef\t__cplusplus\n'>
                <'}\n'>
                <'#endif\n'>
                <'\n'>
                <'#endif\t/* _BSM_AUDIT_UEVENTS_H */\n'>
              ]
            )
        )
        (redir
          op: <Id.Redir_DGreat '>>'>
          loc: (redir_loc.Fd fd:1)
          arg: {($ Id.VSub_DollarName HEADER_FILE)}
        )
      ]
      more_env: []
      do_fork: T
    )
    (command.ControlFlow token:<Id.ControlFlow_Exit exit> arg_word:{<0>})
  ]
)