[DragonFlyBSD - Bug #2385] (Resolved) cut: "-" doesn't work for standard input

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Wed Aug 8 14:34:50 PDT 2012


Issue #2385 has been updated by John Marino.

Status changed from New to Resolved

I synced the cut code from FreeBSD, including the man page.  The stdin works now in master.
http://gitweb.dragonflybsd.org/dragonfly.git/commit/fecfcc569a652a96437e9330d182f61f4e406a41
----------------------------------------
Bug #2385: cut: "-" doesn't work for standard input
http://bugs.dragonflybsd.org/issues/2385

Author: Tim Darby
Status: Resolved
Priority: Low
Assignee: 
Category: 
Target version: 


The man page for cut states that you can supply a - in place of the filename to read from standard input, but it doesn't work:

> echo foo bar | cut -w -f 1 -
cut: -: No such file or directory

However, this does:

> echo foo bar | cut -w -f 1
foo



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Bugs mailing list