Sed string substitution with Shell Variable – Debian
Input: $ cat testing.list deb [trusted=yes] http://10.47.4.220/repos/test-repo/11 / $ echo $REPOVER 12 Expected output: $ cat testing.list deb [trusted=yes] http://10.47.4.220/repos/test-repo/12 / Please note the change in the number at the end. Attempt 1 with single quotes (Not working): $ sed…