Reputation
2,534
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
1 11 11
Newest
 Yearling
Impact
~156k people reached

Jun
28
awarded  Yearling
Apr
24
awarded  Enlightened
Apr
24
awarded  Nice Answer
Jan
28
comment Unix: Add unique names after signs in text
@Hjalte: I've updated my answer.
Jan
28
revised Unix: Add unique names after signs in text
added 415 characters in body
Jan
28
answered Unix: Add unique names after signs in text
Jan
27
comment Removing mulitple lines
@dissidia: This is Unix, so I assume you can run a find command to get all your json files and pipe them to the perl command.
Jan
27
answered Removing mulitple lines
Nov
21
awarded  Guru
Sep
30
awarded  Explainer
Jun
29
awarded  Good Answer
Jun
28
awarded  Yearling
Jun
24
revised Extracting text using sed does not work as expected
added 1 character in body
Jun
24
answered Extracting text using sed does not work as expected
Apr
1
comment Remove the string before the whitespace
Only the awk will work fine in case of lines with trailing blanks.
Oct
27
awarded  Fanatic
Jul
26
comment Split an existing prompt command line in a few lines
How can I cancel the execution of the command at exit of the editor? I use :q! or ZQ but of no avail.
Jun
28
awarded  Yearling
Dec
15
comment Output the common lines (similarities) of two text files (the opposite of diff)?
Aren't -f and -F exchanged?. At least in my grep version is like that. I need to provide file2 input to -f argument, like cat file1 | grep -Fxf file2, and then works.
Dec
15
comment How to reverse-match a string in the Vim programming language?
@TimFriske: After your edit this answer doesn't solve it. It gives the last position of any of the letters, not of all of them. So, in the example it gets the last position of letter 'a', because it's the first one with no repeated appearance after it. I don't know of a built-in but perhaps this solution can help you, because it seems simpler now.