Sunday, October 07, 2018

Re: ksh equivalent to shell-expand-line

Klemens Nanni wrote:
> 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.


To which message is this a response? It seems I haven't received it,
but I'd like to read it. Tomasz?

Best regards,
John

No comments:

Post a Comment