I was not able to replicate your interface error result, so presumably it's
because of something in your implementation of `less`'

$ cat >test2
abcいい天気
$ j602/bin/jconsole
   2!:0'less test2'
abcいい天気

   2!:0'less test2; echo $?'
0

(It's worth noting, however, that less does change its behavior based on
whether or not there's a second command from 2!:0. And that's an
interesting aspect of the current implementation of 2!:0.)

Thanks,

-- 
Raul



On Fri, Mar 21, 2014 at 9:36 AM, kamakura <[email protected]>wrote:

> Hi Raul
>
> Thanks. The following is just a test.
>
> terminal window
> mb17-2:~ kamakura$ cat >test1
> abc
> mb17-2:~ kamakura$ pwd
> /Users/kamakura
> mb17-2:~ kamakura$ cat >test2
> abcいい天気
>
> ------------
> J801
>
>    2!:0 'less /Users/kamakura/test1'
> abc
>
>    2!:0 'less /Users/kamakura/test2'
> |interface error
> |       2!:0'less /Users/kamakura/test2'
>    2!:0 'less /Users/kamakura/test1; echo $?'
> 0
>
>    2!:0 'less /Users/kamakura/test2; echo $?'
> 1
>
> Toshinari
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to