> You can double-click at the beginning of the line and then execute
>
> s//\n/g
> .-0+1000
> u
>
> that will show you what the 1000th word is
it is useful to note down the address here.
s//\n/g
.-0+1000
=#
u
the output of '=#' can then be 'sent' to the
sam window to reach the 1000th word.
sett
i had a similar need some time back and used inferno's sh:
http://a-30.net/inferno/dis/split
arvindh
acme-sac on windows is my development environment too.
b2 on 'win os cmd' gives a cmd.exe window. i prefer sh(1),
so i use just 'win' and access the windows files from /n/C.
i have shell functions defined in $home/lib/functions to
invoke specific windows commands.
for example:
fn ant {
> How do you folks using acme-sac on Windows deal with the line-ending
> issue?
pipefs(4) can be used to filter windows directory trees:
http://groups.google.com/group/acme-sac/msg/973e8c67b33a7976
and also to filter /chan/snarf (in $home/lib/profile):
http://groups.google.com/group/acme-sac/msg/
> If you are using cygwin, you can use sh from acme-sac:
it is possible to b3 on a relative file name in a
cygwin window and get it opened in acme-sac.
you'll need the label patch to win[1], bin/awd and
bin/label from plan9port and a cd wrapper as
described in the example section of label(1)[2].
a
the inferno sh script below shows a rather terrible way to
open a file in a given acme column.
arvindh
#!/dis/sh
load std expr string
usage := 'usage: bcol colnum file'
fn xcmd{
(cwin cmd) := $*
q0 := `{wc -c /mnt/acme/$cwin/tag
echo Mx$q0 $q1 > /mnt/acme/$cwi