Skip to content
/ Comparer Public

A simple Python3 script that can be used to compare a file with the output of a system command

Notifications You must be signed in to change notification settings

knadt/Comparer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Comparer

A simple Python3 script that can be used to compare a file with the output of a system command

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Python3

Installing

Git Clone

git clone https://github.com/knadt/Comparer.git
cd Comparer

Running

python3 comparer.py -h

comparer.py -i <inputfile> -o <outputfile> -c <command>

Help

comparer.py -i <inputfile> -o <outputfile> -c <command>
  
  -h help
  -i (ifile=''): initial file to compare cmd to
  -o (ofile=''): output of command to be saved to file (tmp file)
  -c (cmd='')  : system command

Examples:

comparer.py -i filenames_in_dir.txt -o current_filename_in_dir.txt -c ls

Authors

  • Patrick Sukop - Initial work - Knadt

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Richard - Richard - Richard

About

A simple Python3 script that can be used to compare a file with the output of a system command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages