projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing website index link
[monkeysphere.git]
/
src
/
common
diff --git
a/src/common
b/src/common
index 17955a7a1723e0d861563fcbc79dba73885a981d..24decae5dec4ebc28408934c734b0015c351136d 100644
(file)
--- a/
src/common
+++ b/
src/common
@@
-76,6
+76,13
@@
unescape() {
echo "$1" | sed 's/\\x3a/:/g'
}
echo "$1" | sed 's/\\x3a/:/g'
}
+# convert nasty chars into gpg-friendly form
+# FIXME: escape everything, not just colons!
+escape() {
+ echo "$1" | 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