Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    I say this often but I'll say it again. Unless your data is very well-formed (no special characters, no delimiters in quoted fields, etc.), don't use Unix CLI tools for CSV processing. Use a programming language with a real CSV parser like Perl or Python, or even a good old GUI spreadsheet application. Also you didn't actually ask a question here... Commented Dec 27, 2016 at 15:45
  • It's actually a duplicate of Re-number a list Commented Dec 27, 2016 at 17:14
  • @don_crissti Is it a duplicate if no solution presented there works without more than trivial changes? Commented Dec 27, 2016 at 17:26
  • @don_crissti Oh if there were such solutions where just such replacements would be necessary (this is what I meant with trivial, I should've been more clear) then I must have missed them, sorry. Concerning your 2nd point: Different parameters mean a different solution so yes, unless it was a very obvious just a typo parts that was fixed, the meaning/intent got changed in that case and those changes and are IMHO not right. But better have that discussion in a chat room, what do you think? Commented Dec 27, 2016 at 19:52
  • @don_crissti Oh and I had no problem with your comment, it was really quite a genuine question. I am still not entirely sure what to mark as a dupe and what not (same goes for that one external project for training that AI [?] to better detect dupes). I thought that maybe this also plays a role, e.g. a more specific case is only a dupe of the general case if a good solution for the general case can be easily adapted for the specific one. In this case here concerning how exactly to change a column. Commented Dec 27, 2016 at 19:58