I need to write a script that removes an Idle column from finger output.
>finger Login Name TTY Idle Login Time Office Phone Billy Billy Howard *con 6:55 Fri 19:03 Billy Billy Howard s00 5 Fri 19:11 Billy Billy Howard s00 Sat 00:27
I tried removing extra spaces with tr and then using cut with a space delimiter to remove the column, but since Idle cannot have a value, I sometimes get the wrong value since tr divided the spaces into downtime ... Someone knows how can i delete an idle column?
source share