Re: Display file anme and line number of bash file

Greg Chicares <[email protected]>
Newsgroups gmane.comp.gnu.mingw.msys
Message-ID <[email protected]>
On 2009-02-26 16:12Z, Stephen Grant Brown wrote:
[reformatted--please break long lines]
> I am trying to display the file name and line number that is
> currently being executed in a bash file.

Is tracing your goal? If so, consider using 'set -x'.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.