plan 9 kernel history: overview | file list | diff list

2001/0405/port/parse.c (diff list | history)

2001/0405/sys/src/9/port/parse.c:35,412001/0418/sys/src/9/port/parse.c:35,41 (short | long | prev | next)
Change getfields to tokenize for quoted strings.
rsc Fri Mar 4 12:44:25 2005
1999/0316    
	if(n > 0 && cb->buf[n-1] == '\n') 
		n--; 
	cb->buf[n] = '\0'; 
2000/0308    
	cb->nf = getfields(cb->buf, cb->f, nelem(cb->f), 1, " "); 
2001/0418    
	cb->nf = tokenize(cb->buf, cb->f, nelem(cb->f)); 
1999/0316    
	return cb; 
} 
 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)