[Solved] Can it work together head, sed and regex into one bash script?
Like this (taking one for the team :)? Using awk (Notice: it creates files like Abc 1:2 or whatever is between <b> and <sup>): $ awk ‘ BEGIN { FS=”<sup>” # split at this delimiter } { if($1==p) { # if first part equals first part of previous split b=b ” ” $0 # append … Read more