On Sun, Oct 07, 2018 at 07:30:15PM +0200, Tomasz Rola wrote:
> Another trick may be executing the line with echo prepended - should
> do all expansions and write what will be executed. I think it is not
> going to work too well if for loop is being echoed, and other such
> things, so perhaps quoting a command and echoing would do the job.
This will break any non-trivial construct including pipes, command lists,
loops, (nested) quoting, et al.

Reply via email to