4 ms·
Having two copies of cmdline in the function is not a good design and probably most easily avoided with metaprogramming by building the cmdline first and then u
by loa_in_ 2y ago
Having two copies of cmdline in the function is not a good design and probably most easily avoided with metaprogramming by building the cmdline first and then using it to echo and run it.
I do suspect the examples are intentionally very simplified though.