From a site I’ve inherited which is full of things like this (and lots of other very !important things). Send help.

  • Eager Eagle
    link
    English
    3910 months ago

    sed -i 's/.purple/.not-purple/g' *.css

    done, boss

      • @[email protected]
        link
        fedilink
        English
        410 months ago

        It’s fine as long as you have proper source control. Run it and check the diff before committing.

        • @[email protected]
          link
          fedilink
          English
          1
          edit-2
          10 months ago

          But I set my .git directories to have .css filename extensions!!?! It shouldn’t be my job to educate you.

    • @[email protected]
      link
      fedilink
      English
      310 months ago

      Gotta do it on the HTML files and JS files too. Then you gotta re-test every page that uses those files.

      Then the boss looks over your code and asks why you didn’t just change the actual color because that’s easier to QC.