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*
-
1I 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...shadowtalker– shadowtalker2016-12-27 15:45:02 +00:00Commented Dec 27, 2016 at 15:45
-
It's actually a duplicate of Re-number a listdon_crissti– don_crissti2016-12-27 17:14:39 +00:00Commented Dec 27, 2016 at 17:14
-
@don_crissti Is it a duplicate if no solution presented there works without more than trivial changes?phk– phk2016-12-27 17:26:37 +00:00Commented 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?phk– phk2016-12-27 19:52:24 +00:00Commented 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.phk– phk2016-12-27 19:58:38 +00:00Commented Dec 27, 2016 at 19:58
|
Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. shell-script), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you