Reading contents of a file based on the string ($hostname)
We have a scenario while executing a shell script on a unix servers, snippet should be able to run the $hostname and then based on that have to fetch the contents (if $hostname=hostname1 then fetch line1 thru line5)