[PLUG] rpm document finder
Russell Evans
russell-evans at uswest.net
Sat Feb 8 14:06:02 UTC 2003
I'll admit I don't know good style from bad, good code from bad, and ugly
unless I look in the mirror, so what could I do to make this better?
I know there is an issue with
elif [ $b = $COUNT ] ; then
it should be
elif [ $b = $COUNT ] && [ $y != 0 ] ; then
but that only is for making the function work correctly when the number of
returns is less than HOW_MANY.
I would love to understand how to write the script so that not only did it
work, but it was written in the right / best way.
Thank you
Russell
On 08 Feb 2003 12:57:54 -0800, Randal L. Schwartz said:
> >>>>> "Russell" == Russell Evans <russell-evans at uswest.net> writes:
>
> Russell> #!/bin/sh
>
> And people say *Perl* looks ugly?
>
> :-)
More information about the PLUG
mailing list