Timeline for sort -z equivalent in Solaris ( support sorting of multi-line )
Current License: CC BY-SA 4.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 24, 2020 at 20:25 | vote | accept | gps3dx | ||
| May 24, 2020 at 20:24 | vote | accept | gps3dx | ||
| May 24, 2020 at 20:24 | |||||
| May 24, 2020 at 20:02 | answer | added | Stéphane Chazelas | timeline score: 1 | |
| May 24, 2020 at 19:51 | history | edited | Gilles 'SO- stop being evil' | edited tags | |
| May 24, 2020 at 19:51 | answer | added | Gilles 'SO- stop being evil' | timeline score: 0 | |
| May 24, 2020 at 18:46 | comment | added | schily | I have a similat problem from a buggy mapfile implementation in the GNU linker that likes to see mapfiles in the inverted order. I use tr to change a block of lines into a single line, sort that and then revert the tr effect. See MAPFILE_POST macro in the files in directory RULES in the schilytools. | |
| May 24, 2020 at 18:14 | comment | added | gps3dx | OK I agree, the -"z" switch is massing up the sort... so I can't even use it on GNU. | |
| May 24, 2020 at 17:46 | comment | added | gps3dx | Just updated post: there's HF at the start of each multi-line ( from 2nd line included and above ). There's LF at the end of each line ( multi-line or not ). | |
| May 24, 2020 at 17:45 | history | edited | gps3dx | CC BY-SA 4.0 | added 216 characters in body |
| May 24, 2020 at 17:12 | history | edited | gps3dx | CC BY-SA 4.0 | added 57 characters in body |
| May 24, 2020 at 17:08 | comment | added | gps3dx | 1. Oracle Solaris 11.4 2. just checked my log, it contains LF symbol at the end of each line including the multi-lines. "sort -z" do work on that log while I use centos. | |
| May 24, 2020 at 16:50 | comment | added | Kusalananda♦ | What release of Solaris are you using? Do you have GNU sort available as gsort? | |
| May 24, 2020 at 16:50 | comment | added | Stéphane Chazelas | GNU sort -z is to sort NUL-delimited records. Where are the NULs in your input? | |
| May 24, 2020 at 16:33 | review | First posts | |||
| May 24, 2020 at 17:24 | |||||
| May 24, 2020 at 16:32 | history | asked | gps3dx | CC BY-SA 4.0 |