Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ypcmd/multi.awk.sh
          +++ new/usr/src/cmd/ypcmd/multi.awk.sh
   1      -#!/usr/bin/nawk -f
        1 +#!/usr/xpg4/bin/awk -f
   2    2  #
   3    3  # CDDL HEADER START
   4    4  #
   5    5  # The contents of this file are subject to the terms of the
   6    6  # Common Development and Distribution License, Version 1.0 only
   7    7  # (the "License").  You may not use this file except in compliance
   8    8  # with the License.
   9    9  #
  10   10  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  11   11  # or http://www.opensolaris.org/os/licensing.
↓ open down ↓ 2 lines elided ↑ open up ↑
  14   14  #
  15   15  # When distributing Covered Code, include this CDDL HEADER in each
  16   16  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17  # If applicable, add the following below this CDDL HEADER, with the
  18   18  # fields enclosed by brackets "[]" replaced with your own identifying
  19   19  # information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  #
  21   21  # CDDL HEADER END
  22   22  #
  23   23  #
  24      -#ident  "%Z%%M% %I%     %E% SMI"
  25      -#
  26   24  # Copyright (c) 1996, by Sun Microsystems, Inc.
  27   25  # All rights reserved.
  28   26  #
  29   27  # Awk code to handle the creation of the YP_MULTI_ entries
  30   28  # in the hosts.byname map.  Called by multi directly.
  31   29  #
  32   30  
  33   31  {
  34   32      # Here we loop through the list of hostnames
  35   33      # doing two separate things...
↓ open down ↓ 92 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX