1,804 reputation
169
bio website
location Bilbao, Spain
age 30
visits member for 2 years, 10 months
seen 4 hours ago

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
Sep
29
comment Variable Substitution in Awk Print Statement -v
It works for me. How about running it from command line to test it?
Sep
28
answered How to sort and join at the same time?
Sep
21
awarded  Custodian
Sep
1
answered How to rename files using sed?