Sign in
plan9port
/
plan9
/
7e77a6a569011530d6442d91d20d011d2f01424d
/
.
/
src
/
lib9
/
needsrcquote.c
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
;
}