help-bash
[Top][All Lists]
Advanced

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

Sorting using two field separators


From: tolugboji
Subject: Sorting using two field separators
Date: Sun, 17 Oct 2021 21:41:53 +0000

‐‐‐‐‐‐‐ 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]