DragonFly BSD
DragonFly bugs List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 Aug 2012 00:21:50 -0700

Issue #2385 has been updated by Sascha Wildner.

Status changed from In Progress to Closed


----------------------------------------
Bug #2385: cut: "-" doesn't work for standard input
http://bugs.dragonflybsd.org/issues/2385

Author: Tim Darby
Status: Closed
Priority: Low
Assignee: Sascha Wildner
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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]