Adjusted a little bit of syntax (personal)

This commit is contained in:
TriantaTV 2022-10-27 23:23:02 -05:00
parent 702b77073f
commit 94f2c4fcb8

View File

@ -150,12 +150,11 @@ void ExecPipe()
void append(char *input, char *file) void append(char *input, char *file)
{ {
FILE *fp; FILE *fp;
fp = fopen(file, "a+"); fp = fopen(file, "a+");
fputs(input, fp); fputs(input, fp);
fclose(fp); fclose(fp);
} }
// check command standard input // check command standard input
// if (strchr(inputString, '<') != NULL) // if (strchr(inputString, '<') != NULL)
// { // {