[hackers] [sandy] Better join lines tr, as suggested by Wolfgang Corcoran-Mathe || Rafael García Gallego

From: <git_AT_suckless.org>
Date: Sat, 03 May 2014 08:57:53 +0200

commit c1c250824b392e8d3f8724b9cf78b47bf82c0993
Author: Rafael García Gallego <rafael.garcia.gallego_AT_gmail.com>
Date: Sat May 3 08:57:03 2014 +0200

    Better join lines tr, as suggested by Wolfgang Corcoran-Mathe

diff --git a/config.def.h b/config.def.h
index 1e6d97e..a280e06 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -154,7 +154,7 @@ static const Key stdkeys[] = {
 { .keyv.c = CONTROL(']'), { 0, 0, 0, 0 }, f_extsel, { .i = ExtDefault } },
 { .keyv.c = CONTROL('^'), { t_redo,t_rw, 0, 0 }, f_undo, { .i = -1 } },
 { .keyv.c = CONTROL('^'), { t_rw, 0, 0, 0 }, f_repeat, { 0 } },
-{ .keyv.c = META('6'), { t_rw, 0, 0, 0 }, f_pipeline, { .v = "tr -d '
'" } }, /* Join lines */
+{ .keyv.c = META('6'), { t_rw, 0, 0, 0 }, f_pipeline, { .v = "tr '
' ' '" } }, /* Join lines */
 { .keyv.c = META('5'), { t_sel, t_rw, 0, 0 }, f_spawn, REPLACE },
 { .keyv.c = CONTROL('_'), { t_undo,t_rw, 0, 0 }, f_undo, { .i = 1 } },
 { .keyv.c = CONTROL('?'), { t_rw, 0, 0, 0 }, f_delete, { .m = m_prevchar } },
Received on Sat May 03 2014 - 08:57:53 CEST

This archive was generated by hypermail 2.3.0 : Sat May 03 2014 - 09:00:09 CEST