GNU bug report logs - #21356
BUG: split shorter version of '--numeric-suffixes' give error

Previous Next

Package: coreutils;

Reported by: Tareque Md Khan <mohdtarequekhan <at> gmail.com>

Date: Wed, 26 Aug 2015 22:22:01 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tareque Md Khan <mohdtarequekhan <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: BUG: split shorter version of '--numeric-suffixes' give error
Date: Thu, 27 Aug 2015 02:38:48 +0530
[Message part 1 (text/plain, inline)]
Hi,

My first bug-reporting.

I discovered a *cosmetic* bug in 'split' command. I wanted to split a file
in 'n' chunks, with suffix 'a' chars wide and numeric suffix starting from
'd'. I tried

$ split -n10 -a4 -d5 echo.txt
split: cannot split in more than one way
Try 'split --help' for more information.

where as using longer option for `-d` i.e. `--numeric-suffixes` works fine.

$ split -n10 -a4 --numeric-suffixes=5 echo.txt


FYI: I had asked it on unix.stackexchange as well, for reference
http://unix.stackexchange.com/q/225704/17265

-Thanks,
Md Tareque Khan
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.