You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Martin Lichtin (JIRA)" <ji...@apache.org> on 2018/12/25 20:17:00 UTC
[jira] [Created] (KARAF-6060) shell:wc -l should only print line
count, without leading spaces
Martin Lichtin created KARAF-6060:
-------------------------------------
Summary: shell:wc -l should only print line count, without leading spaces
Key: KARAF-6060
URL: https://issues.apache.org/jira/browse/KARAF-6060
Project: Karaf
Issue Type: Wish
Affects Versions: 4.1.7
Reporter: Martin Lichtin
shell:wc -l (or -c -w -m) should only print one count, without leading spaces.
It would then behave more like regular Unix wc and the output can more easily be used with another tool.
Currently it prints two values instead (it printed only one in 4.0), with white-spacing around it.
{noformat}
root@karaf()> ls | wc -l
4943 4943
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)