cref & pr
Geoff Kuenning
geoff at desint.UUCP
Wed May 18 15:31:27 AEST 1988
In article <241 at sdba.UUCP> stan at 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<nn> 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 at ITcorp.com {uunet,trwrb}!desint!geoff
More information about the Comp.unix.questions
mailing list