Hi Andy, > Is this perhaps an off-by-one error?
I don't think so.
Try
folders +OpenSourceML | awk '{l=length($1)}l>m{m=l;p=$0}END{print p}'
That it's 81 wide when ‘tput cols’ is 80 is coincidence.
--
Cheers, Ralph.
Hi Andy, > Is this perhaps an off-by-one error?
I don't think so.
Try
folders +OpenSourceML | awk '{l=length($1)}l>m{m=l;p=$0}END{print p}'
That it's 81 wide when ‘tput cols’ is 80 is coincidence.
--
Cheers, Ralph.