Sign in
plan9port
/
plan9
/
b15fd97627767291628309677c40b3f40b868497
/
.
/
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
;
}