Quiz · 5 questions
📝 Text Processing Power Tools
grep, sed, awk, jq, regex, encoding
Level 0Window Tourist
0 XP0/95 lessons0/14 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01Why does macOS sed -i differ from Linux sed -i?
Hint
BSD sed wants an empty backup-extension argument; GNU does not.
02What's
awk '$3 > 100 {print $1}' file doing?Hint
The expression before
{action} is a per-line filter.03What does
jq -r do?Hint
It strips the surrounding double quotes from string values.
04Difference between BRE and ERE in grep?
Hint
ERE treats +, ?, {, ( as metacharacters directly without backslashes.
05A file shows
\r characters at the end of every line in cat -A. What's the safe fix?Hint
Those
\r characters are Windows-style carriage returns.Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.