How do you get bash to pass all the parameters to a program.




I am creating a local updatedb file for my user acccount and I created
a bash script like so.


#!/bin/bash
# llocate - local locate
locate --database=$HOME/.locate/locate.db $1

Naturally any additional parameters to the locate command will fail.

Is there a way of adding everything to it?

I tried alias but that ignored the parameters

- voipfc

.



Relevant Pages