Hi all, I'm having troubles in Linux with verbs like dirtree and dirpath (defined in dir.ijs), because a loop can occur when a directory is a symbolic link. Is there an easy way in J to recognize Unix symbolic links? File attributes, as returned by foreign 1!:0 or 1!:6, don't provide this information: for directories, always the 'd' flag is set even if the directory is just linked. At the moment, my workaround is to use
2!:0 'ls -Al' and to check if 'l' is the first character of each output line. -- View this message in context: http://www.nabble.com/Unix-symbolic-links-tp23884582s24193p23884582.html Sent from the J Programming mailing list archive at Nabble.com. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
