Fix some errors:
* Commented right assert expression in long line processing. to do: fix it.
* Corrected pattern recognition.
* Fixed command line samples.