What I'd really like is some way to pipe with_X plugins through each
other. with_file = reads the contents of a file but doesn't output
json. with_lines = reads contents of a file and outputs json, one
item per line. with_pipe = puts output into one var. Should we write
with_pipe_lines to make with_pipe output json? Maybe something like
with:
- file: $filename
- grep: -v "^#"
- grep: -v "^[[:space:]]\*$"
- lines_to_json:
I've used imaginary with_grep and with_lines_to_json
On Fri, Jan 11, 2013 at 7:11 AM, Michael DeHaan
<
michael...@gmail.com> wrote:
> I'd make it default to ignoring blanks and "#".
>
> Only worry about a filter arg if we need it later.
>
> On Fri, Jan 11, 2013 at 9:30 AM, Brian Coca <
bria...@gmail.com> wrote:
>> filter= option that defaults to blank lines and those that start with # or ;?
>>
>> On Fri, Jan 11, 2013 at 8:23 AM, Michael DeHaan
>> <
michael...@gmail.com> wrote:
>>> , it seems it should also skip blank lines.
>>
>>
>>
>>
>> --
>> Brian Coca
>> Stultorum infinitus est numerus
>> 0110000101110010011001010110111000100111011101000010000001111001011011110111010100100000011100110110110101100001011100100111010000100001
>> Pedo mellon a minno
>>
>> --
>>
>>
>
> --
>
>