On Fri, Aug 09, 2002 at 10:55:45AM -0700, Steve Juranich wrote: > I'm almost positive that there's a way to make bash echo its commands to > STDOUT. I have a bunch of script that have variable substitutions and the > like. What I'd like to do is to have bash echo every command line that was > given to it AFTER variable substitution. This would look a lot like the input > script, but it would save some debugging effort. You want to use: #!/bin/bash -x Simon