On Wed, May 30, 2012 at 1:27 PM, Joey K Tuttle <[email protected]> wrote:
> If I'm the only person that has been flummoxed by this, then I'll just
> accept it as another case of RTFM (except I'm unsure where to find the
> explanation in jdocs.... Help anyone? :)

I think the important bit of information you are missing is where the
special meanings for ~ come from.

In a unix/linux environment, the shell will re-interpret ~.  You can
see that for yourself:

$ echo ~
$ echo ~root

If you put this in quotes you get very different behavior

$ echo "~"
$ ls "~"

The J 1!:n behavior for ~ is like the behavior you get in the shell
for quoted names.

Meanwhile, the J ~ behavior is implemented in jpath.  I am not sure
where canonical documentation for jpath lives, but it does seem to be
documented at http://www.jsoftware.com/user/dirpaths.htm and
http://www.jsoftware.com/help/learning/26.htm

FYI,

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to