URI:
       tneedsrcquote.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       tneedsrcquote.c (164B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 
            4 int
            5 needsrcquote(int c)
            6 {
            7         if(c <= ' ' || c >= 0x80)
            8                 return 1;
            9         if(strchr("`^#*[]=|\\?${}()'<>&;", c))
           10                 return 1;
           11         return 0;
           12 }