I have a problem with backquotes (it seems) in system() function in C. This is my request :
snprintf (check_cmd, sizeof (check_cmd), "[ $(echo -n '%.*s' | cksum | cut -d' ' -f1) -eq %" PRIu32 " ]", (cfi_sys_int)data_array[i].size, data_array[i].bytes, crc_32 );
system (check_cmd);
I check the value of snprintf and system() return value but it doesn't return the good value