push(@groups, $buf) versus @groups = $ARGV[0];