[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple commands in binding
- To: herbstluftwm _minus_ devel _at_ lists _dot_ sourceforge _dot_ net
- Subject: Multiple commands in binding
- From: Carlos Pita <carlosjosepita _at_ gmail _dot_ com>
- Date: Tue, 18 Sep 2012 09:39:52 -0300
Hi,
this is from an somewhat old post in arch bbs:
"""
The Problem is that introducing a mechanism to bind a key to multiple
commands would cause quite ugly escaping and quoting problems. Normal
shells already handle quoting and escaping => spawn a shell
"""
I can't see the awkward quoting problems you mention. A sensible
command separator would do it, won't it? And, after all, the entire
hc keybind ...
is already a shell statement that handles escaping and quoting like a
champ, in case you need to escape the separator or something. Am I
missing something here?
Regards
--
Carlos