scsh-users
[Top] [All Lists]

two bugs: #! handling; nit in documentation structure.

To: scsh-bugs@martigny.ai.mit.edu
Subject: two bugs: #! handling; nit in documentation structure.
From: Bill Sommerfeld <sommerfeld@apollo.hp.com>
Date: Fri, 4 Nov 1994 17:06:42 -0500
1) the following scsh script does not behave as expected:

#!/usr/local/bin/scsh -s
(display "Hello, world\n")

It exits without any obvious error message, because it's missing the
!# which is used to terminate the initial comment.

The lexer should report an error if it hits EOF when it's expecting a
!#.

2) I found it slightly confusing that section 3.12.3 (Manipulating
file names) was part of the string-handling routines rather than the
file handling routines.  In my mind I associate these functions more
closely with the I/O operations than with string operations.  There's
also an inconsistancy with the environment variable section; as an
example, split-colon-list and string-list->colon list are found in the
"environment variables" section, while the very similar functions
split-file-name and path-list->file-name are in the "string functions"
section.

                                                - Bill

<Prev in Thread] Current Thread [Next in Thread>
  • two bugs: #! handling; nit in documentation structure., Bill Sommerfeld <=