This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
ComputerSecurity/firstcw/linting.sh
Andre Henriques d21224ac4c
Some checks failed
continuous-integration/drone/push Build is failing
Moved the first course work to a new folder
2023-11-21 13:30:17 +00:00

32 lines
794 B
Bash

#!/bin/bash
if grep "codding" -R . --exclude=linting.sh; then
echo 'Found codding'
grep "codding" -R . --exclude=linting.sh
#exit 1
fi
if grep " sky " -R . --exclude=linting.sh; then
echo 'Found " sky " this is probably wrong'
grep " sky " -R . --exclude=linting.sh
exit 1
fi
if grep " devolving " -R . --exclude=linting.sh; then
echo 'Found " devolving " this is probably wrong'
grep " devolving " -R . --exclude=linting.sh
exit 1
fi
if grep " prof " -R . --exclude=linting.sh; then
echo 'Found " prof " this is probably wrong'
grep " prof " -R . --exclude=linting.sh
exit 1
fi
if grep " codded " -R . --exclude=linting.sh; then
echo 'Found " codded " this is probably wrong'
grep " codded " -R . --exclude=linting.sh
exit 1
fi