Handle = as separator in the internal grep

This commit is contained in:
pancake 2015-04-13 02:07:52 +02:00
parent c0c4dcf203
commit e56d7b1410

View File

@ -230,7 +230,7 @@ R_API int r_cons_grepbuf(char *buf, int len) {
R_API int r_cons_grep_line(char *buf, int len) {
RCons *cons = r_cons_singleton ();
const char delims[4][2] = { "|", ",", ";", "\t" };
const char delims[5][2] = { "|", ",", ";", "=", "\t" };
char *in, *out, *tok = NULL;
int hit = cons->grep.neg;
int i, j, outlen = 0;