[geany/geany] 1e2be9: Add a note in the docs about shell constructs in custom commands

Colomban Wendling git-noreply at xxxxx
Tue Mar 11 12:14:03 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 11 Mar 2014 12:14:03 UTC
Commit:      1e2be9e7b49bfe2b61a04b60ae3314e314a00dd9
             https://github.com/geany/geany/commit/1e2be9e7b49bfe2b61a04b60ae3314e314a00dd9

Log Message:
-----------
Add a note in the docs about shell constructs in custom commands


Modified Paths:
--------------
    doc/geany.txt

Modified: doc/geany.txt
6 files changed, 6 insertions(+), 0 deletions(-)
===================================================================
@@ -938,6 +938,12 @@ Normal shell quoting is supported, so you can do things like:
 The above example would normally be done with the `Replace all`_
 function, but it can be handy to have common commands already set up.
 
+Note that the command is not run in a shell, so if you want to use
+shell features like pipes and command chains, you need to explicitly
+launch the shell and pass it your command:
+
+* ``sh -c 'sort | uniq'``
+
 
 Context actions
 ^^^^^^^^^^^^^^^



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list