Hi
Does anyone know of a command that will extract only the Login name alison and year 2005 from the following output.
jamesm> finger alison
Login name: alison In real life: Alison Smith - Queensland
Directory: /data/home/alison Shell: /usr/bin/ksh
Last login Thu Sep 8, 2005 on pts/111 from sealyqld1.citri
No unread mail
No Plan.
sed -n l f-output.log
Login name: alison >>>In real life: Alison Smith - Queensland
Directory: /data/home/alison >Shell: /usr/bin/ksh
Last login Thu Sep 8, 2005 on pts/111 from sealyqld1.citri
No unread mail
No Plan.
Thanks in advance