Script looks okay. If you had edited/created this on a windows machine and copied to *nix, a 'dos2unix' will fix this.
> dos2nix T.sh
Install the 'dos2unix' rpm if 'dos2unix' returns a 'command not found' message.
Script looks okay. If you had edited/created this on a windows machine and copied to *nix, a 'dos2unix' will fix this.
> dos2nix T.sh
Install the 'dos2unix' rpm if 'dos2unix' returns a 'command not found' message.