2 replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
source | link

More simplyfied variant of @don_crissti@don_crissti 's script

sed ':a;/\(.*\n\)\{2\}/{P;D};N;/= Fail$/! ba;N;s/^/# /gm'

More simplyfied variant of @don_crissti 's script

sed ':a;/\(.*\n\)\{2\}/{P;D};N;/= Fail$/! ba;N;s/^/# /gm'

More simplyfied variant of @don_crissti 's script

sed ':a;/\(.*\n\)\{2\}/{P;D};N;/= Fail$/! ba;N;s/^/# /gm'
1
source | link

More simplyfied variant of @don_crissti 's script

sed ':a;/\(.*\n\)\{2\}/{P;D};N;/= Fail$/! ba;N;s/^/# /gm'