1,296 reputation
725
bio website
location
age
visits member for 2 years, 3 months
seen Dec 12 at 2:55

Jul
26
comment Exit vim more quickly
somehow in my VIM Q was already mapped to :q by default. Thanks for the tip.
Jul
25
revised How to sort a collection of lines from different files?
deleted 106 characters in body
Jul
25
comment How to sort a collection of lines from different files?
Thanks it works, what's the purpose of nextfile though, it works even without nextfile.
Jul
25
accepted How to sort a collection of lines from different files?
Jul
25
revised How to sort a collection of lines from different files?
added 106 characters in body
Jul
25
awarded  Custodian
Jul
25
reviewed Approve How to sort a collection of lines from different files?
Jul
25
comment How to sort a collection of lines from different files?
thanks for the awk FNR tip, but I also want to print the filename before sorted column. It needs storing "filename secondColumn" somehow. I think @Warwick's array suggestion will work.
Jul
25
revised How to sort a collection of lines from different files?
added 68 characters in body
Jul
25
asked How to sort a collection of lines from different files?
Jul
10
accepted Redirect VI command output to a file
Jul
10
asked Redirect VI command output to a file
Jul
10
accepted iconv illegal input sequence- why?
Jul
9
comment iconv illegal input sequence- why?
How do find out which is the byte corresponding to offending character? I tried hexdump -C file command and got 0002b220 72 75 69 6e e6 0a 20 2d 2d 20 48 6f 72 61 63 65 |ruin.. -- Horace| as output.
Jul
9
comment iconv illegal input sequence- why?
@vinc17 how did you find out the file was in ISO-8859?
Jul
9
asked iconv illegal input sequence- why?
Jul
9
comment Grep with spaces suddenly doesn't work
Does this work? grep -E "HELLO[^\S+]FRIEND" file
Jul
8
awarded  Popular Question
Jul
8
comment Removing a specific line from a file
with certain versions of sed you don't need to do -i.bak just -i will do (but of course w/o backup file)
Jul
2
awarded  Curious