Re: echo command as in windows
- From: Vidiot <brown@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 May 2006 11:26:58 -0500 (CDT)
Are you using bash? try running it with 'bash -x <script>'
marc
Or, within the script, on the second line do:
set -x
This is useful if the script you are trying to debug is called from another
script. Also, you don't care which shell you are running.
I use this to do debugging a lot. But the error you get might be extremely
misleading. If you have a missing/misplaced double-quote (or any of
the quotes), the error it complains about could be many lines away from the
actual location.
MB
--
e-mail: vidiot@xxxxxxxxxx /~\ The ASCII
\ / Ribbon Campaign
[So it's true, scythe matters. Willow 5/12/03] X Against
Visit - URL: http://vidiot.com/ / \ HTML Email
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- RE: echo command as in windows
- From: Jeffrey Beckstrom
- RE: echo command as in windows
- Prev by Date: Re: echo command as in windows
- Next by Date: RE: echo command as in windows
- Previous by thread: Re: echo command as in windows
- Next by thread: Re: echo command as in windows
- Index(es):
Relevant Pages
- HOWTO: Remotely debug classic ASP in Visual Studio 2005
... i am still no closer to being able to debug ... ASP not ASP.NET ...
Connect to, or expand, the web-server running the web-site is you want ... Check the "Enable
ASP server-side script debugging" checkbox. ... (microsoft.public.vsnet.debugging) - HOWTO: Remotely debug classic ASP in Visual Studio 2005
... i am still no closer to being able to debug ... ASP not ASP.NET ...
Connect to, or expand, the web-server running the web-site is you want ... Check the "Enable
ASP server-side script debugging" checkbox. ... (microsoft.public.vsnet.debugging) - MySQL+foreach loop.........roy
... I have doing some modification on my previous script. ... Retrieve file
names, ... for the next step, test it, and debug. ... this code block and will not
be defined outside the foreach loop. ... (perl.beginners) - Re: Dynamically include client-side javascript 2
... You can't use any Controls outside of a WebForm. ... the script doesn't
seem to be registering. ... >>I have a debug component that writes certain info into
a DIV so that I ... >>browser when I scroll it. ... (microsoft.public.dotnet.framework.aspnet) - Re: [SLE] emailing myself when a ping command fails via crontab????
... but I have a perl script to monitor a webserver. ... First the script tries
to ping it's DNS servers, ... (SuSE)