[Techtalk] bash behaviour

Rasjid Wilcox rasjidw at openminddev.net
Sat Apr 5 18:34:31 EST 2003


On Sat, 5 Apr 2003 05:23 pm, Berenice wrote:
>
> cardinfo(){
>  echo $(grep -i "$2" "$dir");
> }

I think you want:

echo  $(grep -i "$1" "$dir")

It works for me with that change.

Cheers,

Rasjid.



More information about the Techtalk mailing list