Last active
June 14, 2018 05:27
-
-
Save simbalinux/2acac0e0afdfca451b3dc917ac5725e1 to your computer and use it in GitHub Desktop.
insert only once
This file contains hidden or 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 -q -F 'include "/configs/projectname.conf"' foo.bar || echo 'include "/configs/projectname.conf"' >> foo.bar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment