-
Notifications
You must be signed in to change notification settings - Fork 517
added example of piping commands together with run #47
base: master
Are you sure you want to change the base?
Conversation
+1 |
I had to tackle the same issue and I have resorted to the following:
In my opinion, this way you have less problems with quoting |
In this particular case yes. But in general good to document how to run with pipes. Verstuurd door Outlook voor Android On Sat, Oct 10, 2015 at 2:35 AM -0700, "Roman Savelyev" notifications@github.com wrote:
In my opinion, this way you have less problems with quoting Reply to this email directly or view it on GitHub: |
Thanks for opening this PR. It was helpful |
you're welcome :-) groetjes, Rian Date: Sun, 20 Dec 2015 21:05:05 -0800 Thanks for opening this PR. It was helpful — |
After reading through the original issue (#10 (comment)), I decided to avoid using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As others pointed out, using bash -c
is better (covers more cases) than using output redirect.
This approach was tested and it works.
Can we please merge this as using pipes in scripting (especially with grep
) is a common approach, therefore this will be useful to many people (I myself just spent 2 hours debugging why run
does not support pipes).
No description provided.