I have R declared at the begining of the script, but I commented it out for troubleshooting. When I had it declared and set to 0 in the beginning of the script it return the 0 after the loop instead of what it was set to inside the loop. Thanks, -- Magnus Andersen Systems Administrator / Oracle DBA Walker & Associates, Inc. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list