Posix In Python Learning Series (Part 3)
In this article, we explore a subtle bug encountered while implementing a multi-file grep command in Python. The issue revolved around incorrect line number tracking across multiple files. We...
3 articles.
In this article, we explore a subtle bug encountered while implementing a multi-file grep command in Python. The issue revolved around incorrect line number tracking across multiple files. We...
In this tutorial, we extend our grep command with new features using Test-Driven Development (TDD). We add options for printing filenames, line numbers, quiet mode, and listing files with matches,...
A step-by-step tutorial on building a tiny grep command in Python, covering argument parsing, regex compilation, file handling, and testing.