[linux] Position of a string within a string using Linux shell script?