typeset issues in ksh
Hello,
The problem is as follows :
IN UNIX MPRAS :-
file :- check
Contents :-
#!/usr/bin/ksh
function pic
{
echo "Hello"
}
typeset -fx pic
./$1
file :- sample
Contents:-
pic
on prompt :- ./check sample
output :- Hello
Same code and files are present in kshell in Red Hat Enterprise Version 3.
output is :- .lf 1 -
Why is there a difference? How can the same output in Red Hat be produced using a similar procedure ?
Thank you.
|