ref: ec60da4961b4acff96631e7b99c90a0f4500dbed dir: /sys/src/libc/port/needsrcquote.c/
#include <u.h> #include <libc.h> int needsrcquote(int c) { if(c <= ' ') return 1; if(utfrune("`^#*[]=|\\?${}()'<>&;", c)) return 1; return 0; }