summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/util.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-07-22 00:15:55 +0000
committermillert <millert@openbsd.org>2003-07-22 00:15:55 +0000
commitf8a6bf23744b8605d1fbfa41a3cc15f60676e96e (patch)
tree48ba008c1fa4db780139145da6da90ea511c86e2 /usr.bin/patch/util.c
parentsynbc (diff)
downloadwireguard-openbsd-f8a6bf23744b8605d1fbfa41a3cc15f60676e96e.tar.xz
wireguard-openbsd-f8a6bf23744b8605d1fbfa41a3cc15f60676e96e.zip
Don't print lines consisting solely of a dot ('.') in -e mode since
that will confuse ed(1). POSIX says "one way to fix this bug is to output two periods whenever a lone period is needed, then terminate the append command with a period, and then use the substitute command to convert the two periods into one period." This is exactly what I have done.
Diffstat (limited to 'usr.bin/patch/util.c')
0 files changed, 0 insertions, 0 deletions