better coreutils code