Xref: utzoo comp.sources.wanted:4194 comp.unix.questions:7078 comp.sources.d:2132 Path: utzoo!attcan!uunet!husc6!bloom-beacon!oberon!sdcrdcf!trwrb!desint!geoff From: geoff@desint.UUCP (Geoff Kuenning) Newsgroups: comp.sources.wanted,comp.unix.questions,comp.sources.d Subject: Re: cref & pr Message-ID: <1732@desint.UUCP> Date: 18 May 88 05:31:27 GMT References: <241@sdba.UUCP> Reply-To: geoff@desint.UUCP (Geoff Kuenning) Distribution: na Organization: Interrupt Technology Corp., Manhattan Beach, CA Lines: 16 In article <241@sdba.UUCP> stan@sdba.UUCP (Stan Brown) writes: > Upon rfelction maybe what I need is a PD pr or a method > to convince pr that it is really pr -l66 when invoked from > cref (environmet variable maybe ?) Try renaming cref and pr to cref.real and pr.real, respectively. Then write short scripts named cref and pr. The cref script sets your environment variable and invokes cref.real. The pr script checks the arguments, collecting the -l argument if any, and then invokes pr.real appropriately. You could skip the cref.real part if you just made your pr script always default to 66 lines, like the original does. Save us from overly clever, underly experienced systems programmers who "help" us with such misfeatures! -- Geoff Kuenning geoff@ITcorp.com {uunet,trwrb}!desint!geoff