help
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ -z "$1" -o -z "$2" ]; then
|
if [ -z "$1" -o -z "$2" ]; then
|
||||||
echo -e "usage:\n\tfind_bytes <bytes regex> <path> \n\t\tex. find_bytes '[\x{20}]' /path/to/dir"
|
echo -e "usage:\n\tfind_bytes <unicode regex> <path> \n\t\tex. find_bytes '[\x{20}]' /path/to/dir\n\tdocs: https://ugrep.com"
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
# ugrep
|
# ugrep
|
||||||
@@ -8,7 +8,7 @@ else
|
|||||||
# -W hexdump binary matches, while keeping text matches as text
|
# -W hexdump binary matches, while keeping text matches as text
|
||||||
# -z decompress files if need be to scan them
|
# -z decompress files if need be to scan them
|
||||||
# -R recursive
|
# -R recursive
|
||||||
# ug -W -z -R <bytes regex> <path>
|
# ug -W -z -R <unicode regex> <path>
|
||||||
# bytes in sequence '\x{0d}\x{0a}'
|
# bytes in sequence '\x{0d}\x{0a}'
|
||||||
# mix of bytes sans sequence '[\x{0d}\x{0a}]'
|
# mix of bytes sans sequence '[\x{0d}\x{0a}]'
|
||||||
# normal regex applies '[\x{0d}\x{0a}]{4,6}'
|
# normal regex applies '[\x{0d}\x{0a}]{4,6}'
|
||||||
|
|||||||
Reference in New Issue
Block a user