Closed (fixed)
Project:
Drush
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2010 at 16:02 UTC
Updated:
11 Nov 2010 at 20:00 UTC
Jump to comment: Most recent file
Drush output terminates lines with CR/LF on linux, which is the WIndows convention; on linux lines should be terminated with LF.
This makes parsing output (e.g. with perl) more complex than it should be.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | drush-939432.patch | 699 bytes | jonhattan |
Comments
Comment #1
kotnik commentedThis is true, and it seems to be related to Console_Table PEAR class.
I'll check what's going on.
Comment #2
jonhattanYou're right kotnik. It's a problem upstream.
Please test attached patch.
I did think #877916: `drush help | less` doesn't work on Ubuntu 10.10+ (video inside) was a duplicate od this but
drush help | lessstill doesn't work with this patch.Comment #3
moshe weitzman commentedpatch missing. replacing CRLF with LF seems reasonable.
Comment #4
jonhattanPatch here.
There's a special case this patch does not address within commands/core/watchdog.drush.inc where the table is hijacked for --tail implementation. Do you see
drush wd-show --tail | lessas a recurrent use case? I think watchdog is not feeding us with a ton of lines per second.Comment #5
jonhattanComment #6
moshe weitzman commentedcommitted as is. thanks.