Subject: Re: PR/33995 CVS commit: src/usr.bin/cut
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-bugs
Date: 07/30/2006 00:50:38
> On Dec 19,  5:55am, Aleksey Cheusov wrote:
> } 
> } >  Module Name:	src
> } >  Committed By:	jnemeth
> } >  Date:		Sat Jul 29 02:01:24 UTC 2006
> } >  
> } >  Modified Files:
> } >  	src/usr.bin/cut: cut.c
> } >  
> } >  Log Message:
> } >  PR/33995: Aleksey Cheusov: support use "-" to indicate stdin from SUS
> } 
> } man page cut.1 should also be updated.

>      Hmm...   Yes, you are probably right.  Do you have a suggested update?

:-)

Index: cut.1
===================================================================
RCS file: /cvsroot/src/usr.bin/cut/cut.1,v
retrieving revision 1.12
diff -u -r1.12 cut.1
--- cut.1       7 Aug 2003 11:13:32 -0000       1.12
+++ cut.1       29 Jul 2006 21:44:55 -0000
@@ -58,8 +58,15 @@
 .Ar list  )
 from each
 .Ar file
-(or the standard input by default), and writes them to the
+and writes them to the
 standard output.
+If
+.Ar file
+argument is a single dash
+.Pq Sq Fl ,
+or no
+.Ar file
+arguments were specified, lines are read from the standard input.
 The items specified by
 .Ar list
 can be in terms of column position or in terms of fields delimited

-- 
Best regards, Aleksey Cheusov.