HP Wei wrote:

local L in
{{New Open.pipe init(cmd:"ls" args:['-d' "/path/[A-Z][A-Z]/foo"])} read(list:L size:all)}
  {Browse L}
end

---> gives  "No such file or directory"

That is to be expected: file name pattern matching is done in the shell.
Try this instead:

local L in
{{New Open.pipe init(cmd:"sh" args:['-c' "ls -lda /usr/l*"])} read(list:L size:all)}
 {Browse L}
end

HTH,
Andreas

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to