[ 
https://issues.apache.org/jira/browse/KARAF-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970152#action_12970152
 ] 

Ioannis Canellos commented on KARAF-316:
----------------------------------------

Patch committed on behalf of Lars Heinemann with many thanks. 
Sending        
shell/commands/src/main/java/org/apache/karaf/shell/commands/TailAction.java
Transmitting file data .
Committed revision 1044329.

I added the -f implementation. 
Also added -s which is used to set the sleep interval.

Thanks Lars.

I will keep the issue open for a while to see if we need to add more features.

> Add head/tail commands
> ----------------------
>
>                 Key: KARAF-316
>                 URL: https://issues.apache.org/jira/browse/KARAF-316
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 2.1.2
>            Reporter: Gert Vanthienen
>            Assignee: Ioannis Canellos
>             Fix For: 2.2.0
>
>         Attachments: shell.patch, tail.patch
>
>
> It would be nice if we could add head and tail commands to filter only the x 
> first / last lines of output like in *nix.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to