Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!prism!gt8963a From: gt8963a@prism.gatech.EDU (MCCARTNEY,JEFFREY ELWOOD) Newsgroups: comp.unix.xenix.sco Subject: my alias like command won't work in a shell script Keywords: shell script Message-ID: <30424@hydra.gatech.EDU> Date: 3 Jun 91 01:46:33 GMT Distribution: comp Organization: Georgia Institute of Technology Lines: 18 The following works well interactively at the Xenix prompt but I can't find a way for it to work in a shell. Does anybody know how? (This sets up a something similiar to a csh alias) c () { cd $*; pwd; lc } Try the above - its a big help in daily work. I'd like to get working in my .profile (or any shell script). SCO Xenix 2.3.2 (386). Thank you -- uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt8963a Internet: gt8963a@prism.gatech.edu