I am having a similar problems with some of my computers and J setting of the users folder under my user name even if * do not want them there because of the ö in my name.* * * *C:\Users\björn\j701-user* * * *This causes problems for me and I have reported that several times before under J6.* * * *C:\Users\björn\j602-user * 2010/12/22 Eric Iverson <[email protected]>
> I have looked into this problem and found it amusing. > > Note the 2 sentences: > #!/a_3/b > #!/a-3/b > > The 1st runs without error and has no side effects. The 2nd gets a domain > error. > > The unix #! mechanism runs the binary after the #! with a 1st arg of the > name of the file. So jconsole runs and with normal J rules loads the file. > There is no special treatment of a 1st line starting with #! in the load > verb or in 0!:0. So in all uses of #! files that first line gets run like > any other line. In most cases it runs without side effects and without > error > and you get what you expect. But if that #! line gets an error you get > stopped. There are lots of other legal file names that would cause similar > errors. You could even have a line that had a side effect and continued > execution. > > Short answer is that this won't be fixed for this release. > > A change of j64-701 to j64_701 would probably fix most real world cases but > I am not willing to make that change for this release. Partly laziness and > partly because it isn't a complete solution. If you had a - in your user > name you'd have the same problem. And I am not willing to add a test to > ignore a 1st line starting with #! to either 0!:0 or load. This bug has > been > there for a long time. > > Workarounds are not difficult once the problem recognized. A #! J64 unix > user can manually change the j64-701 to j64_701. Or perhaps better (but I > don't have details at hand) create a link file that avoids nasty > characters. > > On Mon, Dec 20, 2010 at 8:47 PM, Tikkanz <[email protected]> wrote: > > > This problem has been recorded before, but I don't think properly > resolved. > > > > ris...@ric-linux:~/proj/getphenotypes$ cat testhb > > #!/home/rishe0/j64-701/bin/jconsole > > 1!:2&4 'Hello world!', 10 { a. > > NB. exit 0 > > > > ris...@ric-linux:~/proj/getphenotypes$ ./testhb > > |domain error: script > > | #!/home/rishe0/j64- 701/bin/jconsole > > |[-0] /home/rishe0/proj/getphenotypes/./testhb > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: [email protected] gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
