[CM] possibly a file output bug

Iain Duncan iainduncanlists at gmail.com
Tue Aug 31 15:02:55 PDT 2021

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20210831/2eaa51e1/attachment.html>

More information about the Cmdist mailing list