From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Fri, 12 Apr 2002 04:23:37 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 192 ************************************************** Thursday 11 April 2002 Number 192 ************************************************** Subjects for today 1 Re: New diffutils : Jun Sawataishi 2 Re: New diffutils : Thomas Hoffmann **= Email 1 ==========================** Date: Fri, 12 Apr 2002 00:13:36 +0900 From: Jun Sawataishi Subject: Re: New diffutils At Wed, 10 Apr 2002 00:05:29 +0100, Thomas Hoffmann wrote: > does your version work with stdin as input? The last OS/2 version did > not ... I tested this way. [/SRC] 00:06:48<1034># cat Makefile.old |diff - Makefile diff: -: Invalid seek Result is no? When you need to compare standard input and a file? # OS/2 is not a question, it's a solution. # SAWATAISHI Jun # http://www2s.biglobe.ne.jp/~vtgf3mpr/ **= Email 2 ==========================** Date: Fri, 12 Apr 2002 21:46:56 +0100 From: Thomas Hoffmann Subject: Re: New diffutils Jun, a port should work like the original (if possible). And when --help says: If a FILE is `-', read standard input. then this should work (especially if the ported software is used as a tool for porting further software, that possibly relies on this very (and documented) feature. Some time ago I rebuilt diff on my computer (using libcext, if this matters) because I needed this functionality . Now diff worked with stdin as input in sh or bash, but not in cmd.exe (this gives me a SIGPIPE). This was enough for me at this time, so I did not investigate further. Can you please compare your port's behaviour with this? Jun Sawataishi schrieb: > > At Wed, 10 Apr 2002 00:05:29 +0100, > Thomas Hoffmann wrote: > > does your version work with stdin as input? The last OS/2 version did > > not ... > I tested this way. > [/SRC] 00:06:48<1034># cat Makefile.old |diff - Makefile > diff: -: Invalid seek > > Result is no? When you need to compare standard input and a file? -- Thomas Hoffmann Telephone: 49-351-4598831 thoffman at zappa.sax.de Dresden, Germany ..sig under construction ...