summaryrefslogtreecommitdiff
path: root/NEWS.md.in
diff options
context:
space:
mode:
authorGravatar Mike Burns and Eric Collins <mike@mike-burns.com>2016-12-23 16:18:40 -0500
committerGravatar Mike Burns and Eric Collins <mike@mike-burns.com>2016-12-26 16:39:20 -0500
commit147a7b66554b2b13bcbf6fec1204e0cc0a1790bf (patch)
tree6539b10986afe5babef3decb2991cd5bb11ac08b /NEWS.md.in
parent0651e4f5e0e71b57d6564f2f2887ab98f13f1995 (diff)
Handle spaces in dotfile name
In mkrc, separate the list of files with newlines instead of spaces. Change the `$IFS` when iterating to handle this. We hand the file off to rcup, which encodes the file name by replacing spaces with the bell character (`\a`). rcup then sends the file name off to lsrc, which decodes the bell back into a space. The test makes sure an `a` character is in the filename, in case some encoding goes wrong. We use tr(1) instead of sed(1) because tr(1) handles `\a`. Shoutout to Sublime Text 3 for forcing this issue.
Diffstat (limited to 'NEWS.md.in')
-rw-r--r--NEWS.md.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS.md.in b/NEWS.md.in
index 8f6b8a1..e6d4f72 100644
--- a/NEWS.md.in
+++ b/NEWS.md.in
@@ -1,5 +1,6 @@
rcm (@PACKAGE_VERSION@) unstable; urgency=low
+ * BUGFIX: Handle dotfile names with spaces in them (Eric Collins, Mike Burns).
* BUGFIX: Relative exclude globs now work (Eric Collins, Mike Burns).
* BUGFIX: Use $LOGNAME instead of $USER for compatibility (Mike Burns).
* BUGFIX: rcdn(1) stops at DEST_DIR (Kyle Cook, Mike Burns).