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.