xcat-core/xCAT-genesis-scripts/bin/udpcat.awk
2013-01-07 15:26:39 +00:00

13 lines
242 B
Awk
Executable File

#!/usr/bin/awk -f
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
BEGIN {
xcatdport = ARGV[2]
xcatdhost = ARGV[1]
delete ARGV[1]
delete ARGV[2]
RS=""
}
END {
print $0 |& "/inet/udp/301/"xcatdhost"/"xcatdport
}