Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!buengc!bph From: bph@buengc.BU.EDU (Blair P. Houghton) Newsgroups: comp.unix.questions Subject: RTFM... I wish... (Re: appolgies "obviously") Message-ID: <2859@buengc.BU.EDU> Date: 14 May 89 12:27:56 GMT References: <1539@cmx.npac.syr.edu> <132@mcl.UUCP> Reply-To: bph@buengc.bu.edu (Blair P. Houghton) Followup-To: comp.unix.questions Organization: Boston Univ. Col. of Eng. Lines: 38 In article <132@mcl.UUCP> stacy@mcl.UUCP (Stacy L. Millions) writes: >In article <1539@cmx.npac.syr.edu>, gefuchs@herbrand.uucp (Gill E. Fuchs) writes: >> yup, it took me a while to figure out what RTFM means (in more then one way) >> first i tried to issue the command RTFM and unix came back telling me: >> RTFM: Command not found. > >Now there is a great idea. After reading the above article, >I immediately created a rtfm shell script in the local bin. Being told RTFM doesn't always help, like when the sh(1) says while _list_ do _list_ done and you code while newfoo do ls $foo; foo=`newfoo` done and it's days before you figure out that you gotta while newfoo do ls $foo; foo=`newfoo` done to get sh to consume it... In that vein, I've R'ed TMFM, and I've twiddled the permutations, but I just can't seem to get sed(1) to print lines 110 through 115 of a file. It seems the most basic of things, but sed(1) insists on printing the whole file, no matter what I do... What is the proper one-liner syntax for that? --Blair "I hate the stupid questions, I really do. Email, please, and keep my name out of the papers..."