--proof=* Meaning shellscript
First of all, i must say that i tried. really. But i'm stuck at this point
for 3 days and i need to move on and finish it.
I've found no references in man. I've found No references in bash
reference. I've found no references in the holy bible. And it's kinda
tricky google it because just "proof bash" is too generic and --proof
kills my own search...
The problem: I have a shell script and i have to analyze it and explain
what he does and why (common exercise for whom is starting at bash
programming).
#! /bin/sh
if [ $# -eq 0 ]
then
set $PWD
fi
for ARG in $*
do
case $ARG in
--proof=*)
PROFUNDIDADE=`echo $ARG | cut -f 2 -d '='`
Bla bla bla
I wont post all the code because i dont want people think i want someone
to do it for me. My problem is just the %%$#@$ "--proof=*)"
Does someone can clarify it? Thanks!
No comments:
Post a Comment