How do you get bash to pass all the parameters to a program.
- From: voipfc <voipfc@xxxxxxxxxxxxxx>
- Date: Wed, 18 Jul 2007 20:25:40 -0000
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
.
- Follow-Ups:
- Re: How do you get bash to pass all the parameters to a program.
- From: Bill Marcum
- Re: How do you get bash to pass all the parameters to a program.
- From: Chris F.A. Johnson
- Re: How do you get bash to pass all the parameters to a program.
- Prev by Date: Re: Is there a nifty way of adding or inserting text into a line
- Next by Date: Re: Starting from scratch
- Previous by thread: Starting from scratch
- Next by thread: Re: How do you get bash to pass all the parameters to a program.
- Index(es):
Relevant Pages
|