bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how do I do $*:q in bash shell


From: botao
Subject: how do I do $*:q in bash shell
Date: Thu, 17 Jun 2004 16:20:56 -0700

Hi,

I have a tcsh script which has

    exec $tool $*:q

I am trying to convert this into bash shell as

    exec $tool $@

It does not work in some cases, ie

    <script>   "first arguemnt" "second argument"

in csh, $tool gets 2 argument; in bash $tool get 4 argument.

Can somebody help me on this?


thanks,

---Lee






reply via email to

[Prev in Thread] Current Thread [Next in Thread]