Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
soc:2009:lynusvaz:journal:week11 [2009/08/03 20:03] lynusvaz |
soc:2009:lynusvaz:journal:week11 [2009/08/06 11:51] (current) lynusvaz |
||
---|---|---|---|
Line 6: | Line 6: | ||
* [[http://git.etherboot.org/?p=people/lynusvaz/gpxe.git;a=commit;h=ed727e23f17957886e7d03282732a95f1accebc2|Simplified expand_string()]] | * [[http://git.etherboot.org/?p=people/lynusvaz/gpxe.git;a=commit;h=ed727e23f17957886e7d03282732a95f1accebc2|Simplified expand_string()]] | ||
+ | August 5: Started on the documentation: [[http://etherboot.org/wiki/soc/2009/lynusvaz/notes/scripting_doc/features_added|Features added]] | ||
- | + | August 6: More changes to the expand_string function: | |
+ | * Remove the in_quotes parameter from the expand_string function. Since quotes are already handled by another function, there's no need to put it here. | ||
+ | * Change the sentinel from 127 to 0. This has the advantage that it will exit the function on end of the string. | ||
+ | As they say, perfection is achieved not when no more can be added, but when no more can be removed. So, I'm trying to reduce the code as much as possible. | ||