bug#50025: Strange? grep behaviour

2021-08-12 Thread Daniel Forsberg
Hello fellow Grepers! the following line: echo -n ":egov" | sha256sum | grep -E "[0-9a-f]+" -o | xxd -r -p | base32 | grep -E "[0-9A-Z]+" -o produces the following output LCBSPBBX6BY6 VZX6P6TZMMRETTCSPXZU7GJTAPPZCPKF2UJEYDA expected output: LCBSPBBX6BY6WVZX6P6TZMMRETTCSPXZU7GJTAPPZCPKF2UJ

bug#50025: Strange? grep behaviour

2021-08-12 Thread Paul Eggert
On 8/12/21 1:27 AM, Daniel Forsberg wrote: this seems to be something particular to my system but I have not been able to find why. I cannot reproduce the problem on my machine (Fedora 34) either. Try running "env - /usr/bin/grep" instead of plain "grep". If this fixes the problem, then your