Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!ptsfa!ihnp4!homxb!houxm!hropus!jgy From: jgy@hropus.UUCP Newsgroups: comp.unix.wizards Subject: Re: KSH alias question Message-ID: <927@hropus.UUCP> Date: Fri, 27-Mar-87 11:08:07 EST Article-I.D.: hropus.927 Posted: Fri Mar 27 11:08:07 1987 Date-Received: Sat, 28-Mar-87 15:18:56 EST References: <302@andromeda.RUTGERS.EDU> Distribution: na Organization: Bell Labs, Holmdel, NJ Lines: 19 > Here's a question for all you ksh wizards out there: (Are you listening > Mr. Korn???) > > Unfortunately, ksh uses the word 'print' for the ksh builtin equivalent > of echo(1). My problem: we have a utility called print on the system > whose name can't be changed for political reasons. What I'd like to do > is somehow change the name of the builtin WITHOUT recompiling the code > so that 'print' will refer to the utility, and so that 'echo' can still > be aliased to use the ksh print builtin. > > If you have a solution PLEASE reply by e-mail. I will summarize for those > interested. > > Thanx. The latest release of ksh has echo as a builtin (rather than print). Or just alias print=/usr/lbin/print or whatever, the echo alias will keep going to the old print.