`t users --csv` option doesn't escape commas or newlines
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the t users --csv command and trace how Ruby's to_csv output passes through say. Verify whether commas and newlines in tweets and descriptions remain escaped, then confirm that the generated CSV is parsable.
Written by the indexing model from the issue text.
Description
The generated csv from t users isn't parsable; it contains user tweets & descriptions, which often contain commas and newlines.
Ruby's to_csv method seems to escape commas and newlines. I'm not familiar with say, but that might be what's unescaping them?
I spent a while looking into this but I'm unfamiliar with Ruby's gem system. Simply appending to_csv().html_safe might do the trick, but I couldn't figure out how to apply my changes to the global gem.
- Dominant language
- Ruby
- Stars
- 5.6k
- Forks
- 402
- Avg merge
- 13h 50m
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sferik/x-cli
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Unlisted followings Openfeature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TheOdinProject/curriculum#31402 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100