Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.utils.bug > #2208
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail |
|---|---|
| From | John Cowan <cowan@mercury.ccil.org> |
| Newsgroups | gnu.utils.bug |
| Subject | Re: Just want to exclude lines with tabs |
| Date | Thu, 19 May 2016 10:56:41 -0400 |
| Lines | 18 |
| Sender | John Cowan <cowan@ccil.org> |
| Approved | bug-gnu-utils@gnu.org |
| Message-ID | <mailman.159.1463669817.6543.bug-gnu-utils@gnu.org> (permalink) |
| References | <CAAY=KgOd0CYkx43xZ7WQ1SFj3mABziKEiueN6JohZvHM0rin5Q@mail.gmail.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1463669818 24224 208.118.235.17 (19 May 2016 14:56:58 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-gnu-utils@gnu.org |
| To | xyz2041 <xyz2041@gmail.com> |
| Envelope-to | bug-gnu-utils@gnu.org |
| Content-Disposition | inline |
| In-Reply-To | <CAAY=KgOd0CYkx43xZ7WQ1SFj3mABziKEiueN6JohZvHM0rin5Q@mail.gmail.com> |
| User-Agent | Mutt/1.5.20 (2009-06-14) |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.6.x |
| X-Received-From | 192.190.237.11 |
| X-BeenThere | bug-gnu-utils@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU utilities <bug-gnu-utils.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-gnu-utils/> |
| List-Post | <mailto:bug-gnu-utils@gnu.org> |
| List-Help | <mailto:bug-gnu-utils-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-gnu-utils>, <mailto:bug-gnu-utils-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.utils.bug:2208 |
Show key headers only | View raw
xyz2041 scripsit: > What am I missing? That grep and similar Posix utilities do not understand \t. Instead, use \011 (the octal code for tab): $ grep -v '\011' o.csv > o-out.csv You need to put the \011 in single quotes, otherwise the shell will interpret the \0 sequence as equivalent to simple 0. -- John Cowan http://www.ccil.org/~cowan cowan@ccil.org But no living man am I! You look upon a woman. Eowyn I am, Eomund's daughter. You stand between me and my lord and kin. Begone, if you be not deathless. For living or dark undead, I will smite you if you touch him.
Back to gnu.utils.bug | Previous | Next | Find similar
Re: Just want to exclude lines with tabs John Cowan <cowan@mercury.ccil.org> - 2016-05-19 10:56 -0400
csiph-web