help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting using two field separators


From: Alex fxmbsw7 Ratchev
Subject: Re: Sorting using two field separators
Date: Sun, 17 Oct 2021 23:47:56 +0200

u need also like u tried ors \0 for sort -z later

On Sun, Oct 17, 2021, 23:41 tolugboji <tolugboji@protonmail.com> wrote:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Sunday, October 17th, 2021 at 9:17 PM, Alex fxmbsw7 Ratchev <
> fxmbsw7@gmail.com> wrote:
>
> > try -v RS='\0' not without -v, try
> >
> > awk -v .. '..'
> >
>
> You need to be more specific because with
>
> | awk -F'[-.]' -v RS='\0' '{print $(NF-1), $0}' |
>
> the output is stopping at the first entry.
>
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]