Is there a way for macro command to add in the '|' operator as well inside the macro itself? #1301
Replies: 2 comments 1 reply
-
Yes, when you define the macro, quote pipes and redirection characters that are part of the definition. Also, see the docs. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot kevin. Appreciate your quick responses. I have been more than pleased to work with you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just have some thoughts to create a macro along with the pipe operator like this:
macro create intdown nx | awk '$5=="down" || $6=="down"{print $0}'
but the pipe operator is taken as a pipe to the macro command itself i guess.
Is there a way to do it? i just want to store the awk inside the macro as well
Beta Was this translation helpful? Give feedback.
All reactions