grep patterns: where a match sits, -w, -E and |, -o, the dot; a sed replacement with a line address and an in-place edit with -i.bak; awk fields and the -F separator. The questions follow the lessons “Regular expressions in grep” and “sed and awk: editing and fields of a stream”.
10 questions · threshold 70%