Im getting a lineshift when trying to build a string
问题 Im trying to build a string to call a script with args, and one of the args is read from a file but im getting a lineshift and the output is like this /home/glennwiz/develop/c/SnuPort/ExpGetConfig.sh xogs1a 3/37 > lastConfig.txt i want the 3/37 and > lastConfig to be on the same line. this is my code. char getConfig[100] = "/home/glennwiz/develop/c/SnuPort/ExpGetConfig.sh "; char filedumpto[50] = " > lastConfig.txt"; FILE* file = fopen("rport.txt","r"); if(file == NULL) { return NULL; } fseek