echo ch(“mychan”)
gets expanded as
ch ( mychan )
so: run myscript -expression ch(“something”)
instead of passing ch(“something”) as one argument, it passes it as 4 args.
Is there a reason for that to happen?
while I can single quote ‘ch(“mychan”)’ to pass it as an argument, it becomes of course hard when you have variables inside it, and overall it seems a very annoying feature for anyone using touch to keep in mind (when you type certain keywords, things are going to happen to what you type - but not all the times!)
??
d