Created
February 12, 2019 03:11
-
-
Save ironicbadger/608b91e35cb755f1fe4afc7a2b78ebb4 to your computer and use it in GitHub Desktop.
linuxserver readme changelog script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# call as replace.sh filename | |
file="$1" | |
sed -i 's/+ \*\*/ - { date: "/g' $file | |
sed -i 's/:\*\* /:", desc: "/g' $file | |
sed -i '/ - { date:/ s/$/" }/' $file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment