Hi Bill, I am having this unusual behaviour and am wondering if it's a bug

This works fine:
(call-with-output-file "/Users/iainduncan/froms4m.txt"
  (lambda (output-port)
    (display "hello world, from s4m" output-port)))

But if I put a hyphen in the file name ("/Users/iainduncan/from-s4m.txt"),
I get the following error:
;open-output-file: Is a directory "/Users/iainduncan/from-s4m.txt"
; (call-with-output-file "/Users/iainduncan...

FWIW, underscores are fine too.
thanks!
iain
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to