So there is a trailing LF that you need to handle.
Сб, 03 май 2014, greg heil писал(а):
> >Oh yes it is a bona fide simple file, i even put some ascii data it it, for
> >testing:) Eg
>
> {."1 dirtree 'd:\temp\test.txt'
> +----------------+
> ¦d:/temp/test.txt¦
> +----------------+
> $ 'test' dirfind ''
> 9
> a.i.'test' dirfind ''
> 116 101 115 116 46 116 120 116 10
>
> greg
> ~krsnadas.org
>
> --
>
> from: Raul Miller <[email protected]>
> to: General forum <[email protected]>
> date: 3 May 2014 21:43
> subject: Re: [Jgeneral] 1!:55 on W7/64
>
> I like using dirtree.
>
> For example, try:
> require'dir'
> {."1 dirtree 'd:\temp\test'
>
> Thanks,
> ---
> Raul
>
> --
>
> from: bill lam <[email protected]>
> to: [email protected]
> date: 3 May 2014 21:40
> subject: Re: [Jgeneral] 1!:55 on W7/64
>
> Did you check what does dirfind return? eg
> $ 'test' dirfind ''
> a.i.'test' dirfind ''
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm