karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Kapp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-5881) shell:sort does not sort correctly
Date Mon, 27 Aug 2018 14:32:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Klaus Kapp updated KARAF-5881:
------------------------------
    Description: 
sort -b --field-separator='|' --key=7

does not sort correctly

 

I have a list with multiple fields separated by pipe ("|"). I want to sort by 7th field but
sort does not what it should. If i write the output into a file and sort it in linux's bash
it sorts correctly.

So it seems to be a bug in shell:sort.

I also tried sorting by other fields, which also doesn't work correctly.

  was:
sort -b --field-separator='\|' --key=7

does not sort correctly


> shell:sort does not sort correctly
> ----------------------------------
>
>                 Key: KARAF-5881
>                 URL: https://issues.apache.org/jira/browse/KARAF-5881
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.10
>            Reporter: Klaus Kapp
>            Priority: Major
>
> sort -b --field-separator='|' --key=7
> does not sort correctly
>  
> I have a list with multiple fields separated by pipe ("|"). I want to sort by 7th field
but sort does not what it should. If i write the output into a file and sort it in linux's
bash it sorts correctly.
> So it seems to be a bug in shell:sort.
> I also tried sorting by other fields, which also doesn't work correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message