PryGuy
August 27th, 2010, 04:45 PM
Good day everyone!
I write a script and would love to do the following thing:
MACADDRESS=(`getVar "toLower "Client MAC""`)
I understand the syntax is not right, but as you see I want to use the function toLower' in a parameter while calling getVar. I could use two lines instead of this one, but I'm sure bash is flexible enough to be able to do it in one line.
Thanks in advance.
I write a script and would love to do the following thing:
MACADDRESS=(`getVar "toLower "Client MAC""`)
I understand the syntax is not right, but as you see I want to use the function toLower' in a parameter while calling getVar. I could use two lines instead of this one, but I'm sure bash is flexible enough to be able to do it in one line.
Thanks in advance.