On 29 May 2016 at 16:34, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > What is advantage compared with running scripts with bash -x script name ? >
For a naive user they may not even realise it is a shell script or that the running it via bash -x option will give a valuable debug output. I didn't until I did a bunch of work on it. It is an extremely simple addition but very helpful to understand is going on and gives useful debug reports. I was thinking that we could expand this to have a level with lower levels printing out settings of key variables and a high level generating the -x output. But I think at least having this debug output easily available is an easy but valuable improvement. Andrew _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel