-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ar3s on 4/15/2009 5:25 PM:
> 
> echo "a"|cut --delimiter=" " --fields=2-
> I have assumed that it would return an empty string
> but it returns a
> 
> Is it normal or is it a bug in the matrix ?

Not a bug.  According to POSIX, when -f (--fields) is in effect, "Lines
with no field delimiters shall be passed through intact, unless -s is
specified."

http://www.opengroup.org/onlinepubs/9699919799/utilities/cut.html

- --
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

iEYEARECAAYFAknmdi4ACgkQ84KuGfSFAYAkTgCgisZvDyTqndnpeCndakyi+5X3
MF0An25gnnLbOhxNseucHbdiJu0ox5gL
=GStU
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to