erinxocon / pyp

Automatically exported from code.google.com/p/pyp
0 stars 0 forks source link

lines are stripped and ignored if empty #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
pyp should not assume that whitespace is irrelevant. It could do so with a 
--strip option perhaps, but it should not be the default as it leads to 
surprises.

What is the expected output? What do you see instead?
$ echo -e '1\n\n2\n3' | ./pyp
1
2
3

I expect the same as `cat` would do:
$ echo -e '1\n\n2\n3' | cat  
1

2
3

Original issue reported on code.google.com by gfxm...@gmail.com on 25 Mar 2012 at 7:00

GoogleCodeExporter commented 8 years ago
that's a good point. That will be corrected in the next version.

Original comment by tobyro...@gmail.com on 26 Mar 2012 at 3:17

GoogleCodeExporter commented 8 years ago
pyp_beta should fix this:
http://code.google.com/p/pyp/downloads/detail?name=pyp_beta&can=2&q=#makechanges

Original comment by tobyro...@gmail.com on 16 May 2012 at 9:39