07: C: Don’t needlessly strip newline chars
This commit is contained in:
parent
3144a5f528
commit
97294b6cf8
|
@ -55,7 +55,6 @@ int main(int argc, char **argv) {
|
|||
size_t S = 0, G = 0, required = 0;
|
||||
|
||||
while (fgets(l, 64, stdin)) {
|
||||
l[strlen(l) - 1] = '\0';
|
||||
if (l[0] == '$') {
|
||||
if (l[2] == 'c') {
|
||||
if (l[5] == '/')
|
||||
|
|
Loading…
Reference in New Issue