Unknown alias in ksh script problem.

Paul Dineen pld at hpfcso.HP.COM
Thu Oct 26 07:37:15 AEST 1989


 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.



More information about the Comp.unix.questions mailing list