Re: echo command as in windows



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



Relevant Pages