2,059 reputation
189
bio website
location Bilbao, Spain
age 31
visits member for 3 years, 2 months
seen Aug 17 at 13:57

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.
Dec
15
answered How to reverse-match a string in the Vim programming language?
Dec
14
answered globbing, sed, or awk html files
Dec
13
answered Indent like first line
Oct
22
answered Make gvim scroll to the center after opening a file with line numbers?
Oct
9
revised Sed processed file displays differently in vi vs cat
Improved formatting.
Oct
9
suggested suggested edit on Sed processed file displays differently in vi vs cat
Oct
2
answered Convert a tab-delimited file to use newlines
Oct
1
comment How to tail/grep/awk the last N bytes of a file, rather than lines
@PetrUzel: Thanks. Edited the answer to add it.
Oct
1
revised How to tail/grep/awk the last N bytes of a file, rather than lines
added 170 characters in body
Oct
1
answered How to tail/grep/awk the last N bytes of a file, rather than lines