I'm writing a ksh script, and I'd like to use a command define by an alias in my .profile file, in my script. I tried this command in the folder containing my script, and it works. However, in my script, I've: [command] not found.
How can I solve this? My command just make a lsls of a repository, then I'm doing in my script :
[command]| grep ... | { IFS== read -r var1 x && IFS== read -r var2 x; }