[jamming] Command built-in questions (was Re: Executing shellcommand, save results to variable)

Sanel Zukan sanelz at gmail.com
Fri Mar 23 06:14:20 PST 2007


> True, but from that point, my argument would be that 'lines' should be the 
> default behavior. It's trivial to parse a given line (from an array of 
> lines) into the words using the Match rule.

Good point Brian, I forgot Match :)

> It's VERY difficult to take an array of words (that might have been multiple 
> lines), and split them into sub-lists that are the original lines.

This would not be an case if '\n' is preserved in array as this
character or marked as so.

Anyway, maybe is better to remove default behaviour so user can
explicitely chose between "lines" or "words". This will make code much
more readable :) Thoughts ?

--
Sanel


More information about the jamming mailing list