Subject: standards/11226: POSIX.2: split -a not supported
To: None <>
From: Ben Harris <>
List: netbsd-bugs
Date: 10/14/2000 09:57:08
>Number:         11226
>Category:       standards
>Synopsis:       POSIX.2: split -a <suffix_length> not supported
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    standards-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 14 09:57:00 PDT 2000
>Originator:     Ben Harris
>Release:        2000-02-07
NetBSD cromarty 1.4X NetBSD 1.4X (CROMARTY) #9: Wed May  3 23:49:51 BST 2000
     bjh21@cromarty:/usr/src/sys/arch/macppc/compile/CROMARTY macppc

According to POSIX.2, split should take a -a <suffix_length> argument to
control the number of variable characters it appends to the prefix when
generating output filenames.  NetBSD's split doesn't.

cromarty:~$ split -a 5 /dev/null thing
split: illegal option -- a
usage: split [-b byte_count] [-l line_count] [file [prefix]]