Change to single character variable in FreeBSD for loop