Path: utzoo!utgpu!watmath!iuvax!uxc.cso.uiuc.edu!csd4.milw.wisc.edu!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mips Subject: wc output bug Message-ID: <661@uakari.primate.wisc.edu> Date: 10 Aug 89 20:09:21 GMT Organization: UW-Madison Primate Center Lines: 19 wc doesn't put a space between fields 2 and 3 of its output (this is true for both /bin/wc and /usr/ucb/wc, since the latter is a symlink to the former) if the file size is large, e.g., % wc /usr/lib/news/history gives me 37023 1280431854334 whereas it would be nice to get 37023 128043 1844334 This is on a M/120, running RISC/os 4.0. Installing 4.01 does not seem to affect /bin/wc, so I guess the problem persists into 4.01. The fix is easy: ftp to uunet.uu.net, cd into ~ftp/bsd-sources/src/ucb, grab wc.c and install it on top of /bin/wc. It doesn't have the bug (it has a space in the printf, as it should). Paul DuBois dubois@primate.wisc.edu