[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening files like ".profile"



>>>>> "Raymond" == Raymond Toy <toy@rtp.ericsson.se> writes:

Raymond> While playing around with file I/O, I wanted to open a file
Raymond> starting with a dot, like ".profile".  This is what happens:

 (open ".profile" :direction :input)

Raymond> *** - no file name given: #"/home/unix/toy/.profile"
Raymond> 1. Break>

You can use:

  (open (make-pathname :name ".profile") :direction :input)

to keep CLISP from thinking that "profile" is a type, and not the
actual name.