[TST] resolve platform-specific issues with GNU cut.