I am currently using the below function
!/bin/bash
#Colour change functions
fnHotlinkG2R()
{
sed -i 's/#hotlink {height: 200px;width: 200px;background: green;/#hotlink {height: 200px;width: 200px;background: red;/' /var/www/html/style.css
}
Rather than creating multiple difference functions I would like to enter the #hotlink as different every time I call the function from within the script.
I am fairly new to sh scripts and would like some assistance please.