Mercurial > repo
changeset 5563:e5c870daf480
<shachaf> ` sed -i \'s/made \xc2\xab$key\xc2\xbb/$key/\' bin/mk
author | HackBot |
---|---|
date | Fri, 12 Jun 2015 06:48:12 +0000 |
parents | 30f1834f4383 |
children | bd2306290d78 |
files | bin/mk |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/mk Fri Jun 12 06:47:10 2015 +0000 +++ b/bin/mk Fri Jun 12 06:48:12 2015 +0000 @@ -1,1 +1,1 @@ -[[ "$1" == *//* ]] || exit 1; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$key"; echo "made «$key»" +[[ "$1" == *//* ]] || exit 1; key="${1%%//*}"; value="${1#*//}"; echo "$value" > "$key"; echo "$key"