3 ms·
From this: https://git.ameliorated.info/lucid/scripts/src/branch/master/BASH/SnD_21H1_2021-10-13.sh https://git.ameliorated.info/lucid/scripts/src/branch/master
by rwha 4y ago
From this: https://git.ameliorated.info/lucid/scripts/src/branch/master/BASH/SnD_21H1_2021-10-13.sh https://git.ameliorated.info/lucid/scripts/src/branch/master...
echo '#!/bin/bash' | cat - script.sh > temp && mv temp script.sh
Is there a benefit to doing this instead of just appending to script.sh? I see the last "echo '#!/bin/bash' ..." line, but why not do that first?
- bombcar 4y agoThey’re not appending they’re prepending.