Hi
How can i convert a list to a string?
I have following list:
node1
node2
node3
node4
And i would like to convert this list to:
node1, node2, node3, node4
How do i do this?
Regards Valle70
I have tryed to use the eval shell builtin on almost any variables in the script. But it dos not solve the problem.
Can you be more specific on where you want me to use the eval function?
Regards Valle
Hi
I have som problems with substitution in a script I am putting together and I hope someone can help me.
My problem is with the variable $EXCLUDES in the variable CMD1.
The script is showen below.
------------- script1 ---------------
#!/usr/bin/ksh
LOG=/home/user1/cleanup.log...
Hi
"who -m" gives me following output
root
user1
"who -m|awk '{printf("%s",$1)}'" gives me following oupput
rootuser1
I would like make a awk script that orders the lines show below seperated by a _
root_user1
who do I do this ?
Regards
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.