aboutsummaryrefslogtreecommitdiff
path: root/ch1/1-20_detab.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch1/1-20_detab.c')
-rw-r--r--ch1/1-20_detab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ch1/1-20_detab.c b/ch1/1-20_detab.c
index dc8f5b5..d0db601 100644
--- a/ch1/1-20_detab.c
+++ b/ch1/1-20_detab.c
@@ -1,11 +1,11 @@
#include <stdio.h>
/* The C Programming Language: 2nd Edition
- * Exercise 1-20:
- * "Write a program `detab` that replaces tabs in the input with the proper
- * number of blanks to space to the next tabstop. Assume a fixed set of
- * tabstops, say every 'n' columns. Should 'n' be a variable or a symbolic
- * parameter?"
+ *
+ * Exercise 1-20: Write a program `detab` that replaces tabs in the input with
+ * the proper number of blanks to space to the next tabstop. Assume a fixed set
+ * of tabstops, say every 'n' columns. Should 'n' be a variable or a symbolic
+ * parameter?
*
* Answer: 'n' should be a symbolic parameter. It's more apparent what's being
* worked with and it's not susceptible to scope. Though, in this simple