Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!pld From: pld@hpfcso.HP.COM (Paul Dineen) Newsgroups: comp.unix.questions Subject: Unknown alias in ksh script problem. Message-ID: <7010003@hpfcso.HP.COM> Date: 25 Oct 89 21:37:15 GMT Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 17 When I pipe to an alias in a ksh script, the alias definition is always unknown. For example: $ alias bigfiles='sort -r +4' $ cat >script #!/bin/ksh ll | bigfiles ^D $ script ./script[2]: bigfiles: not found When the line "ll | bigfiles" is executed from the keyboard, there is no problem. Wha' happen? Thanks.