I'm attempting to modify the CSS font-size and font-family properties using the 'sed' command in Ubuntu. Here is a snippet of my CSS code:
stage {
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 10pt;
}
Currently, I am trying to use the following command:
sed -i -e "/(stage\s*\{[\w\s:\-;\(\)#]*)(font-size\s*:\s*)([^\}])(|\})/20pt/" theme.css
However, I am encountering an error related to the regex command. Can anyone provide guidance on how I can successfully adjust the font-family and font-size within the "stage" using "sed"?