version 1.31, 2015/12/09 19:29:49 |
version 1.32, 2017/01/19 17:08:41 |
|
|
} |
} |
goto arg1; |
goto arg1; |
case '\0': |
case '\0': |
if (zflag) |
if (zflag) { |
|
/* |
|
* Increment 'count', so that nulls will be treated |
|
* as end-of-line, as well as end-of-argument. This |
|
* is needed so -0 works properly with -I and -L. |
|
*/ |
|
count++; |
goto arg2; |
goto arg2; |
|
} |
goto addch; |
goto addch; |
case '\n': |
case '\n': |
|
if (zflag) |
|
goto addch; |
hasblank = 1; |
hasblank = 1; |
if (hadblank == 0) |
if (hadblank == 0) |
count++; |
count++; |
if (zflag) |
|
goto addch; |
|
|
|
/* Quotes do not escape newlines. */ |
/* Quotes do not escape newlines. */ |
arg1: if (insingle || indouble) |
arg1: if (insingle || indouble) |