error with unix 'here' doc