check bash variables