my brain this morning is blocked on this one I have a data file
cpu01 value value value cpu02 value value value cpu03 value value value ... cpu01 value value value cpu02 value value value cpu03 value value value ... cpu01 value value value cpu02 value value value cpu03 value value value ... column 1 can be cpu\d+ and cpu_all I want to open files for writing, one for each unique value in the first column. so that if the value f the data in the first column is "cpu01" then write to the file with the FH of $cpu01 This has to be simple ... -pete _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug