C.W.K.
Stream
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.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.