vasigorc / duplicate_lines_finder

Detecting duplicate lines in a file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate Lines Finder

This Python project is a simple script for finding duplicate lines in a text file.

Getting Started

These instructions will help you set up and run the project on your local machine.

Prerequisites

  • Python 3.9

Installing

  1. Clone the repository:

    git clone https://github.com/vasigorc/duplicate_lines_finder
  2. Navigate to the project directory:

    cd duplicate-lines-finder
  3. Create a virtual environment:

    python -m venv venv
  4. Activate the virtual environment:

    # On Windows
    venv\Scripts\activate
    
     # On macOS/Linux
    source venv/bin/activate

Usage

To find duplicate lines in a file, run the following command from the project home:

python src/find_duplicate_lines.py

Follow the on-screen instructions to enter the path to the file you want to check for duplicate lines.

About

Detecting duplicate lines in a file

License:GNU General Public License v3.0


Languages

Language:Python 100.0%