#!/bin/bash sed '2s/0\.7\.0/0.6.12/g' node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol >node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol.temp rm node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol # Too busy to read up on how I can not fuck up by overwriting file with sed right now mv node_modules/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol{.temp,}