ref: 390c71f0c79b2b8b94997cd9ae03037272075f8b 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; }