bug-bash
[Top][All Lists]
Advanced

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

Re: Passing command line to scripts and programs: SOLVED


From: Grant Jacobs
Subject: Re: Passing command line to scripts and programs: SOLVED
Date: Wed, 11 Jan 2006 09:40:23 +1300


Solution would seem to be use $BASH_COMMAND as Chet Baker pointed out to me off-list (thanks), except that my shell is too old.

This is a version 3.0+ feature. Mac OSX ships with 2.05b, so I'm now looking into what it takes to update the shell.

Grant

Grant Jacobs wrote:

 Thanks for your reply.

 I can't see a $BASH_COMMAND (unbound variable, etc.). Maybe this is a
 v3.0+ feature? OSX uses version 2.05b.0(1)

Yes, it was introduced in bash-3.0.

Chet

--
-------------------------------------------------------------------
Grant Jacobs Ph.D.                                     BioinfoTools
ph. +64 3 478 0095  (office, after 10am)               PO Box 6129,
or  +64 27 601 5917 (mobile)                               Dunedin,
gjacobs@bioinfotools.com                               NEW ZEALAND.
Bioinformatics tools: deriving knowledge from biological data Bioinformatics tools - software development - consulting - training
 15 years experience in bioinformatics ready to solve your problem
Check out the website for more details: http://www.bioinfotools.com

The information contained in this mail message is  confidential and
may be legally privileged.  Readers of this message who are not the
intended recipient are hereby notified that any use, dissemination,
distribution or reproduction of this message is prohibited.  If you
have received this message in error please notify the sender immed-
iately and destroy the original message.  This applies also to  any
attached documents.




reply via email to

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