From 2898030a6e156a1c0e7f2461081c9fde26e63e9e Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 2 Aug 2025 14:05:12 -0600 Subject: [PATCH] help --- customscripts/find_bytes | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/customscripts/find_bytes b/customscripts/find_bytes index bb2266d..944d840 100644 --- a/customscripts/find_bytes +++ b/customscripts/find_bytes @@ -4,9 +4,13 @@ if [ -z "$1" -o -z "$2" ]; then exit else # ugrep + # ugrep docs https://ugrep.com # -W hexdump binary matches, while keeping text matches as text # -z decompress files if need be to scan them # -R recursive - # ug -W -z -R '' "" + # ug -W -z -R + # bytes in sequence '\x{0d}\x{0a}' + # mix of bytes sans sequence '[\x{0d}\x{0a}]' + # normal regex applies '[\x{0d}\x{0a}]{4,6}' ug -W -z -R $1 $2 fi