commit fecfede1403c9d8f2a11499ec23622b7023b20e6 parent fd8b6bfe3718a375ac3ee2771825b57034cffa97 Author: Chris Down <chris@chrisdown.name> Date: Wed, 5 Feb 2014 18:06:47 +0800 Do not add newline when copying clipboard data to file Diffstat:
M | clipmenud | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clipmenud b/clipmenud @@ -13,6 +13,6 @@ while sleep 1; do md5=$(md5sum <<< "$data") md5=${md5%% *} - cat > "$cache_dir/$md5" <<< "$data" + printf '%s' "$data" > "$cache_dir/$md5" done done