1 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License as
5 # published by the Free Software Foundation.
7 # This program is distributed in the hope that it would be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 # GNU General Public License for more details.
12 # You should have received a copy of the GNU General Public License
13 # along with this program; if not, write the Free Software Foundation,
14 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 function randomize(array, N) {
20 for(i = 0; i < N; i++) {
33 for (i = 0; i < NF; i++ ) array[i] = $(i+1)
35 for (i = 0; i < NF; i++) printf("%s ", array[i])