Re: How do you get bash to pass all the parameters to a program.
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Thu, 19 Jul 2007 17:04:55 GMT
On Wed, 18 Jul 2007 20:25:40 -0000, voipfc
<voipfc@xxxxxxxxxxxxxx> wrote:
"$@" (notice the double quotes).
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 hate mankind, for I think myself one of the best of them, and I know
how bad I am.
-- Samuel Johnson
.
- References:
- Prev by Date: Re: Setting up Linux dual boot with dos
- Next by Date: Re: Help needed with gnu version of updatedb
- Previous by thread: Re: How do you get bash to pass all the parameters to a program.
- Next by thread: Help needed with gnu version of updatedb
- Index(es):
Relevant Pages
|