projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'jrollins/master'
[monkeysphere.git]
/
src
/
common
diff --git
a/src/common
b/src/common
index 34c86cb42d9a67f452835d4773db519f78270f6c..bb988f785e983ad5bcb90492f3390b618ce2c737 100644
(file)
--- a/
src/common
+++ b/
src/common
@@
-77,6
+77,12
@@
gpg_unescape() {
sed 's/\\x3a/:/g'
}
sed 's/\\x3a/:/g'
}
+# convert nasty chars into gpg-friendly form in pipeline
+# FIXME: escape everything, not just colons!
+gpg_escape() {
+ sed 's/:/\\x3a/g'
+}
+
# remove all lines with specified string from specified file
remove_line() {
local file
# remove all lines with specified string from specified file
remove_line() {
local file