Thanks all.
The easy answer (which I missed in the rel notes) is to use TM_FULLNAME instead.
Works a treat!
Cheers, John.
On 30 Nov 2007, at 12:00, Allan Odgaard (via digest) wrote:
From the r1431 release notes:
[NEW] TextMate sets TM_FULLNAME (unless you set it yourself) to the user’s full name, so no longer necessarily to fiddle with niutil and dscl to obtain it.
So it should not be necessary for commands/snippets to try and obtain the full username themselves.