**This is an old revision of the document!** ----
June 15: Sent out a patch to etherboot-developers, with the arithmetic parser. Well, before that I had to actually make the patch, which required some messing around with git. Had an accident which resulted in losing a script I used to test the parser. Anyway, finally managed to send it out. June 16: I had a look at the POSIX specification for the shell. These points seem of interest to my task: * Within double quotes, the $ retains its special meaning for variables and for arithmetic expressions, and the \ for escapes * No escapes are allowed within single quotes Went through AndyTim's and Stefan's work on quoting. Started coding something up, which I later realised would not work. The thing here is that once the string is expanded, it will not really be possible to find the division between arguments. The current flow is: expand_command -> split_args -> exec. June 17: Still confused about how to implement the quoting. Towards evening decided to combine the expand_command and split_args functions. This might make it a little difficult to understand, but let's see how it turns out. Commit: [[http://git.etherboot.org/?p=people/lynusvaz/gpxe.git;a=commit;h=2e730a8908cd91b322a1a96f024b8ba59fe1987c|Beware, this is very rough, and I still have to do the cleaning up]]