alx-tools / Betty

Holberton-style C code checker written in Perl
GNU General Public License v3.0
1.27k stars 1.76k forks source link

Create sakaokikiola #37

Open drsaka10 opened 2 years ago

drsaka10 commented 2 years ago

!/bin/bash

Simply a wrapper script to keep you from having to use betty-style

and betty-doc separately on every item.

Originally by Tim Britton (@wintermanc3r), multiargument added by

Larry Madeo (@hillmonkey)

BIN_PATH="/usr/local/bin" BETTY_STYLE="betty-style" BETTY_DOC="betty-doc"

if [ "$#" = "0" ]; then echo "No arguments passed." exit 1 fi

for argument in "$@" ; do echo -e "\n========== $argument ==========" ${BIN_PATH}/${BETTY_STYLE} "$argument" ${BIN_PATH}/${BETTY_DOC} "$argument" done

drdebayor1 commented 2 years ago

thank you