Search Results

Search: Posts Made By: mccmjc
5,976
Posted By Scrutinizer
You're welcome. Yes, the for loop does not...
You're welcome. Yes, the for loop does not redirect stdin, whereas the while read loop does. stdin is needed by the ssh command, so ssh was complaining that stdin could not be used..
The adaptation...
5,976
Posted By Scrutinizer
Try: while read HOST <&3; do ssh $HOST; done...
Try:
while read HOST <&3; do ssh $HOST; done 3<dbs_group
4,419
Posted By RudiC
Try awk ' {LN[$1]; HD[$2];...
Try awk ' {LN[$1]; HD[$2]; MX[$1,$2]=$3}
END { printf "%10s", ""; for (i in HD) printf "%10s", i; print "";
for (j in LN) {printf "%10s",j; ...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy