On 2024-07-03 at 00:03:58 +0200, Luck, Tony wrote: >>> So fgets( ...) followed with "if (offline_cpus_str[0] == '\n') "? >> >> How about simplifying it more to "if (fgetc(fp) == '\n')" ? > >Reinette, > >Even better. > >-Tony Thanks, I'll try using this instead of fscanf. -- Kind regards Maciej Wieczór-Retman