> From: bill lam
>
> On Tue, 17 Nov 2009, Sherlock Ric wrote:
> >
> > The nicest cross-platform method to finding a computer's hostname
> that I know is:
> >
> > CRLF -.~ shell 'hostname' [ require 'task'
>
> In that case, I prefer 2!:5 IFUNIX{::'COMPUTERNAME';'HOSTNAME'
>
The trouble is that it doesn't work for me on Linux (Ubuntu)! Does my method
work on your flavour?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm