Compare commits

..

No commits in common. "master" and "1.5" have entirely different histories.
master ... 1.5

3 changed files with 14 additions and 10 deletions

View file

@ -1,9 +1,8 @@
#!/bin/sh
# formatting
red=`tput setaf 1`
green=`tput setaf 2`
normal=`tput sgr0`
bold=$(tput bold)
normal=$(tput sgr0)
# error function
error(){
@ -20,7 +19,7 @@ error(){
f="$1sum $2 | cut -d ' ' -f1"
if [ $(eval $f) = "$3" ]; then
echo "$2 is ${green}fine.${normal}"
echo "$2 is ${bold}fine.${normal}"
else
echo "$2 is ${red}corrupted!${normal}"
echo "$2 is ${bold}corrupted!${normal}"
fi

View file

@ -631,9 +631,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
CheckIntegrity: A simple tool for checking integrity of a file by matching
checksums with given strings.
Copyright (C) 2023 Sayantan Santra
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -653,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
CheckIntegrity Copyright (C) 2023 Sayantan Santra
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

View file

@ -27,4 +27,10 @@ The syntax is as follows :
`hash` is the given hash to match with
You can type `CheckIntegrity -h` for help.
You can type `CheckIntegrity -h` for help.
### _You might buy me a cup of coffee:_
**UPI (preferred) : sintan@ybl**
**PayPal : sayantan.santra689@gmail.com**