From f69e4bbbfdd7951cad0c2aa33a90f473fdab6bce Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 2 Aug 2025 14:05:56 -0600 Subject: [PATCH] help --- customscripts/find_bytes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customscripts/find_bytes b/customscripts/find_bytes index 944d840..bc6731b 100644 --- a/customscripts/find_bytes +++ b/customscripts/find_bytes @@ -1,6 +1,6 @@ #!/bin/bash if [ -z "$1" -o -z "$2" ]; then - echo -e "usage:\n\tfind_bytes \n\t\tex. find_bytes '[\x{20}]' /path/to/dir" + echo -e "usage:\n\tfind_bytes \n\t\tex. find_bytes '[\x{20}]' /path/to/dir\n\tdocs: https://ugrep.com" exit else # ugrep @@ -8,7 +8,7 @@ else # -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}'