🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track Tcl
Tcl track

Grep

An exercise from the Tcl track
medium

About this exercise

Search a file for lines matching a regular expression pattern. Return the line number and contents of each matching line.

arguments
booleans
conditionals
files
filtering
parsing
regular expressions
strings
text formatting
View all solutions