Check whether there is a non printable character in the unix variables

cp $l_options $srcdirfile $destdirfile
If i want to check whether there is a non printable character in the variables
$l_options $srcdirfile $destdirfile
how it can be done?

The most obvious way would be using the complement of the [:print:] character class.

Regards,
Alister

Sorry can you elaborate on that ..i am not getting much help on this in google