"Barry L. Kline" wrote:
>
> Robert Monical wrote:
> >
> but maybe I screwed up the configuration).
> > 3. Would someone help me learn how to use positional parameters in bash
> > functions.
> > something like (as you can tell, I'm not much of a shell guy).
> > function rpmqag { rpm -qa | grep #1 }
> >
>
> rpmqag () {rpm -qa | grep "$1"}
>
I hate when I hit enter before I'm finished!
function rpmgqa () {
rpm -qa | grep "$1"
}
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list