Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/awkbugs/notes

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Thu Mar 9 09:13:26 EST 2006 rsc
    Could you check that you're up-to-date with sources
    and resubmit?  If you run patch/diff sorry/awkbugs you'll
    see all sorts of changes that don't seem to have anything
    to do with what you reported.  The one line you added
    looks like (in run.c):
    
    				else
    					*p++ = '\0';
    >>					*p = '\0';
    
    which at the least is indented wrong.
    
    As for your split example, for(k in a) iterates over the
    keys k in the hash table a in an unspecified order.
    If you want to iterate over an array, you should 
    do n=split(); for(i=0; i<n; i++) ...
    
    Thanks.


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].