|
From: | Emanuel Berg |
Subject: | Re: Search through the string's space for find the target string whose md5sum matches the required condition. |
Date: | Thu, 14 Oct 2021 01:14:19 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hongyi Zhao wrote: > Bash based UNIX tool one line solution: > > $ for i in TASC{A..Z}O3RJMV{A..Z}WDJKX{A..Z}ZM; > do > echo $i; echo -n $i | md5sum | cut -d ' ' -f1; > done | tr '[a-z]' '[A-Z]' | > egrep -m1 -B1 I think you can use [:lower:] and [:upper:] with tr(1) ... tr '[:lower:]' '[:upper:]' Otherwise looks good ... -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |