try

./read time

a better choice is "cl" client, which lets you navigate the namespace
the file server is serving. the -d flag lets you see what is being
passed around.

$ ../../srv/examples/timefs &
[1] 3681
$ ./read time
Sun Sep  4 22:32:00 PDT 2011$
$ ./cl
9p> ls
time
inftime
9p> cat time
Sun Sep  4 22:32:12 PDT 20119p>
9p> exiting...
$

here's how the plan9port's 9p utility can be used:

% 9p -a tcp!localhost!5640 ls
inftime
time
% 9p -a tcp!localhost!5640 read time
Sun Sep  4 22:32:34 PDT 2011%

-Skip

On Sun, Sep 4, 2011 at 9:44 PM, s s <leonardne...@gmail.com> wrote:
>
>> On Sun, Sep 4, 2011 at 9:03 PM, Skip Tavakkolian
>> <skip.tavakkol...@gmail.com> wrote:
>>>
>>> ...
>>> go9p (Go)
>>>
>>> ...
>>>
>>> -Skip
>
>
> Compiled and ran go9p/p/srv/examples/timefs.go.
>
> Compiled and ran go9p/p/clnt/examples/read.go.
>
> Output was ...
>
> 2011/09/05 00:40:13 invalid arguments
>
> Success?
>
>  - Leonard
>
>
>

Reply via email to