(echo name file; echo get; echo dot=10) | 9p write acme/new/ctl

But it doesn't work - it says the "dot=" command is ill-formed. What I
am doing wrong?

The address (10) has to be written to addr and not to ctl file.
To accomplish "B file:10" using acme control files:

        ; . $PLAN9/lib/acme.rc
        ; newwindow
        ; winname /path/to/file
        ; winctl get
        ; echo -n 10 | winwrite addr
        ; winctl 'dot=addr'

Arvindh

Reply via email to