HP3000-L Archives

April 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Fri, 13 Apr 2001 13:04:09 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
> This situation seems to me like the obverse of the output redirection
> choices.  If ">" opens the output each time, thereby wiping out what was
> already in the file; and ">>" appends data to the file - why not have an
> additional input redirection symbol, "<<" which would not reposition the
> pointer to the beginning of the file for each read but read the next
> available record?

The ">>" does open the file each time, it just opens it in append mode.  The
"<<" symbol already means something in the POSIX shell and I wouldn't want
it to have a different meaning in the CI, especially since the POSIX
functionality would be useful in the CI.

* To join/leave the list, search archives, change list settings, etc *
*     please visit http://raven.utc.edu/archives/hp3000-l.html       *

ATOM RSS1 RSS2