blob: a9e62bc6e28033a7b4e970fdab1398c3637258b1 [file] [log] [blame]
#include <u.h>
#include <libc.h>
int
needsrcquote(int c)
{
if(c <= ' ' || c >= 0x80)
return 1;
if(strchr("`^#*[]=|\\?${}()'<>&;", c))
return 1;
return 0;
}