[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unable to run cut -d\
From: |
Eric Blake |
Subject: |
Re: unable to run cut -d\ |
Date: |
Mon, 13 Oct 2008 06:47:01 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Luca Gesmundo on 10/13/2008 1:21 AM:
> cut -d\ -f3
You are invoking "cut" "-d -f3", that is, providing the four characters
" -f3" as the argument for -d. What you probably wanted was either of:
cut -d\\ -f3
cut -d'\' -f3
which shell quoting then turns into "cut" "-d\" "-f3" (just a single
backslash to -d, and a separate argument for -f3).
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----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
iEYEARECAAYFAkjzQ0UACgkQ84KuGfSFAYBU2QCfaSR/KMLUp8cJC4qpt5i1L48k
SYQAn3hwB1nDczxWRLzATHl0kC0Udnzj
=FaSL
-----END PGP SIGNATURE-----