Hi, I am trying to learn how to assign the result of an Operating system command into a rexx variable.
E.g. I want to assign the result of the Linux command "whoami" to the variable quiensoy.
So far under VM I could use CMS pipelines in such commands as for example:
/**/
'pipe cp q cpuid | var vari'
say vari
* * * End of File * * *
But I can't find a way to achieve this in OOREXX/Linux.
Any help will be welcome.
Thanks in advance
Jose R. Baron
CALCULO S.A.
Madrid, Spain
E.g. I want to assign the result of the Linux command "whoami" to the variable quiensoy.
So far under VM I could use CMS pipelines in such commands as for example:
/**/
'pipe cp q cpuid | var vari'
say vari
* * * End of File * * *
But I can't find a way to achieve this in OOREXX/Linux.
Any help will be welcome.
Thanks in advance
Jose R. Baron
CALCULO S.A.
Madrid, Spain