Hi,
I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :-
./sample.sh: line 13: sed: command not found
./sample.sh: line 15: awk: command not found
BASH is your shell, what is your system? uname -a if you don't know.
You may be having PATH problems if this is a UNIX system. Or if this is Windows via Cygwin or what have you, awk and sed may not be installed (they are applications, not part of bash)