Subversion Repositories planix.SVN

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#include <u.h>
#include <libc.h>

int
needsrcquote(int c)
{
        if(c <= ' ')
                return 1;
        if(utfrune("`^#*[]=|\\?${}()'<>&;", c))
                return 1;
        return 0;
}