Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site l5.uucp Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!l5!gnu From: gnu@l5.uucp (John Gilmore) Newsgroups: net.lang.c,net.unix Subject: Re: BOOKS: Advanced UNIX(TM) Programming Message-ID: <327@l5.uucp> Date: Sat, 7-Dec-85 20:57:44 EST Article-I.D.: l5.327 Posted: Sat Dec 7 20:57:44 1985 Date-Received: Mon, 9-Dec-85 03:45:07 EST References: <672@hou2a.UUCP> <292@l5.uucp> <152@brl-tgr.ARPA> <737@drutx.UUCP> Organization: Nebula Consultants in San Francisco Lines: 29 Xref: watmath net.lang.c:7344 net.unix:6562 In article <737@drutx.UUCP>, mrl@drutx.UUCP (LongoMR) writes: (The double indent is me, gnu, speaking:) > > Laura and I looked at this book at a friend's house and our opinion > > was that if you only want to write for System V, it might be OK. > > If you care about the larger Unix world, pass it up. He seemed to > > have kind of the right attitude, but all the little details are > > wrong, and he totally ignores the non-att world. > > Wow, that seems like a pretty definate statement to be offered without > examples, wouldn't you say? I would be interested to know not only > your opinion, but how you arrived at it. Note that this is not a flame. > I just bought the book and if I am going to be wasting my time, I'd rather > not read it. I would, however, like to know how you came to your conclusion. As I said, we only looked at the book at someone else's house. We opened it in a few places and found enough odd things. He suggests that you read directories by opening them and doing 16-byte reads into a struct; that's somebody who's never heard of the fast file system or portability if I've ever seen it. Laura said at the time that his preface statements about the history of Unix were wrong -- not in major ways, but in small ways. One place I opened it he used a strtok() function which was the first I'd heard of it -- though later I noticed a PD implementation of it in my net.sources archives, it didn't appear in BSD systems or V7 or 32V. I'm not saying it's a bad book, I'm just saying it's too focused on SV for my taste. I care more about portability than that. I would undoubtedly learn things from it, and I know enough about non-Sys V systems to know when what he's saying is unportable or wrong -- but how much of his audience is in that position?