-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Yongsheng Bai on 12/9/2008 8:38 PM: > Dear Sir, > > why does split() command has different options in different UniX systems? > i.e. -a option does not work on some Unix machines...
Your example of 'split -a' is required by POSIX, so it should work on any Unix system, even when GNU coreutils are not installed: http://www.opengroup.org/onlinepubs/9699919799/utilities/split.html but other options, like 'split -C', are GNU extensions. > Is this because of long option and short option difference? Long options are also a GNU extension. By the very definition of extension, you cannot expect other Unix platforms to provide the same set of extensions as GNU coreutils, although you should be able to install GNU coreutils on pretty much any of today's common Unix systems to get your favorite GNU extensions. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkk/O08ACgkQ84KuGfSFAYC12gCg1z0NhHVziNoF/N8T3O5jrkXw 2ScAn0/dqieLHt1P5k5XQXCpSOU2ZdGj =yLtM -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils