Let's say, I have files that contain only one docker id:
I want to check if the content of
my.id is exactly
64 characters long and contains only characters in the range [0-9] and [a-z] (maybe [a-f]).
- How can I do that?
- If the file contains a newline
0x0a, how can I include/exclude it in this check?