Last active
July 13, 2018 00:00
-
-
Save simbalinux/d391384a600e42722540ddde90e13320 to your computer and use it in GitHub Desktop.
find and replace all occurences of " ." IF gt 3 and replace with "+"
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
[ $(grep -o '\.' file|wc -l) -gt 3 ] && sed -i file -e 's/\./+/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment