in reply to Help formatting with printf

printf("%-5s %-15s %-5s\n", $id, $ip, $port);

McA

Replies are listed 'Best First'.
Re^2: Help formatting with printf
by cspctec (Sexton) on Mar 21, 2013 at 20:02 UTC
    Well, that was ridiculously simple. I feel stupid. Thanks for the help, it works perfectly.