When I run the following hasys command with awk , I get output with machines names as the following:hasys -display|grep Shutdown | awk '{print $1}'  machine1a  machine1bplease advice how to print the machines names in one line as the following: examplehasys -display|grep Shutdown | awk '{print $1}'    machine1a machine1bwhat I need to add in my awk syntax so I will able to print the names in one line?
awk + print awk output in one line
awk;ksh
You can say:hasys -display | grep Shutdown | awk '{print $1}' ORS=' '