We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
append
1 parent 4cb236e commit 3ea2379Copy full SHA for 3ea2379
bin/append
@@ -0,0 +1,6 @@
1
+#!/usr/bin/env bash
2
+
3
+APPEND="$1"
4
+TARGET="$2"
5
6
+pcregrep -qM "$APPEND" "$TARGET" || echo "$APPEND" >> "$TARGET"
0 commit comments