help-bash
[Top][All Lists]
Advanced

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

null record separator prints only one file


From: tolugboji
Subject: null record separator prints only one file
Date: Mon, 18 Oct 2021 05:04:35 +0000

I am using the following command with null record separators for a set of png 
files, and cannot
figure out why only one png file is being printed.

find "$fdir" -type f -name "${fnam}-*.png" -print0 | awk -v RS='\0' -F'[-.]' 
'{print $(NF-1), $0}' | cat -vet

reply via email to

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