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.