Re: split() command

2008-12-10 Thread Yongsheng Bai
split -C 30m -a 2 -d input.txt sub.
split: invalid option -- a
Try `split --help' for more information.


split --version
split (textutils) 2.0.14
Written by Torbjorn Granlund and Richard M. Stallman.

Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.






From: Eric Blake [EMAIL PROTECTED]
To: Yongsheng Bai [EMAIL PROTECTED]; bug-coreutils bug-coreutils@gnu.org
Sent: Tuesday, December 9, 2008 10:00:10 PM
Subject: Re: split() command

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[please keep replies on the list, and don't top-post]

According to Yongsheng Bai on 12/9/2008 8:51 PM:
 Thanks, Sir.
 But, how can I fix this problem?
 -
 split: invalid option -- d
 Try `split --help' for more information.
 
 split: invalid option -- a
 Try `split --help' for more information.

Please paste the actual command that you typed, so we have a chance of
diagnosing what you typed wrong.  Based on the error message, you are
probably using GNU split, so at least that isn't a factor.  Also, type
'split --version' to verify which version of split you are using.

- --
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/PsoACgkQ84KuGfSFAYDT1gCfRnKKJtI9DFjCv58fFCDplr2V
0ooAoIp78UGWIW2u2Y0pYJM0ZWSud9Se
=B8JU
-END PGP SIGNATURE-
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


split() command

2008-12-09 Thread Yongsheng Bai
Dear Sir,

why does split() command has different options in different UniX systems? i.e. 
-a option does not work on some Unix machines... Is this because of long option 
and short option difference?

Thanks,
YB
___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils