K 10 svn:author V 8 jmallett K 8 svn:date V 27 2002-05-05T02:46:53.000000Z K 7 svn:log V 655 In an effort to make this utility easier to work with at a source level, move out the parse loop to a seperate function, and move local variables around as is needed. To keep the state of some variables and keep from having huge arg lists to functions, make a bunch global. Change use of err(3) in situations where malloc(3) will be setting errno to errx(3) since assuming malloc(3) sets errno is non-portable, and provides no more useful information in the context of FreeBSD. Submitted by: bde (err/errx), Carl Schmidt (some of the movement of the input loop to a function) Approved by: src/tools/regression/usr.bin/xargs END