[jboss-jira] [JBoss JIRA] (WFCORE-3221) Support for | and >> operators

Katerina Novotna (JIRA) issues at jboss.org
Wed Dec 20 09:06:00 EST 2017


    [ https://issues.jboss.org/browse/WFCORE-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507462#comment-13507462 ] 

Katerina Novotna commented on WFCORE-3221:
------------------------------------------

Here is the list of most common options of grep which could be nice to have as well:
* Show line number while displaying the output using grep -n
* Show only the matched string -o
* Counting the number of matches using grep -c
* Display the lines which does not matches all the given pattern. -e
** grep -e "pattern" -e "pattern"
* Invert match using grep -v
* Displaying lines before/after/around the match using grep -A, -B and -C
* Checking for full words, not for sub-strings using grep -w

> Support for | and >> operators
> ------------------------------
>
>                 Key: WFCORE-3221
>                 URL: https://issues.jboss.org/browse/WFCORE-3221
>             Project: WildFly Core
>          Issue Type: Feature Request
>          Components: CLI
>            Reporter: Jean-Francois Denise
>            Assignee: Jean-Francois Denise
>
> Aesh 1.0 comes with a set of useful operators. 2 are of particular interest in CLI:
> In order to extend the CLI ‘>’ support with the ability to append to a file, ‘>>’ support is required.
> To make interesting combination of commands (eg: grep, cat, less), the ‘|’ operator is required.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list