summaryrefslogtreecommitdiffstats
path: root/usr.bin/sed/process.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/sed/process.c
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/sed/process.c')
-rw-r--r--usr.bin/sed/process.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c
index 1bcda6d..ca11189 100644
--- a/usr.bin/sed/process.c
+++ b/usr.bin/sed/process.c
@@ -423,10 +423,10 @@ flush_appends()
int count, i;
char buf[8 * 1024];
- for (i = 0; i < appendx; i++)
+ for (i = 0; i < appendx; i++)
switch (appends[i].type) {
case AP_STRING:
- fwrite(appends[i].s, sizeof(char), appends[i].len,
+ fwrite(appends[i].s, sizeof(char), appends[i].len,
stdout);
break;
case AP_FILE:
@@ -468,7 +468,7 @@ lputs(s)
else
termwidth = 60;
- for (count = 0; *s; ++s) {
+ for (count = 0; *s; ++s) {
if (count >= termwidth) {
(void)printf("\\\n");
count = 0;
@@ -502,7 +502,7 @@ regexec_e(preg, string, eflags, nomatch, slen)
size_t slen;
{
int eval;
-
+
if (preg == NULL) {
if (defpreg == NULL)
err(FATAL, "first RE may not be empty");
@@ -514,7 +514,7 @@ regexec_e(preg, string, eflags, nomatch, slen)
slen--;
match[0].rm_so = 0;
match[0].rm_eo = slen;
-
+
eval = regexec(defpreg, string,
nomatch ? 0 : maxnsub + 1, match, eflags | REG_STARTEND);
switch(eval) {
OpenPOWER on IntegriCloud