| bio | website | toggle.be/~ta |
|---|---|---|
| location | Denmark | |
| age | 36 | |
| visits | member for | 1 year, 1 month |
| seen | 4 hours ago | |
| stats | profile views | 92 |
I'm trained in computer science engineering, but have a wide range of other interests as well.
|
15h |
comment |
awk + paste for cleaning up PATH? @StephaneChazelas: That is indeed a much better choice, I didn't know about that option. Thanks. |
|
1d |
comment |
awk + paste for cleaning up PATH? @PredragPunosevac: I think the backslashes are there to prevent csh from doing history expansion on the exclamation mark. |
|
May 8 |
comment |
Why does (GNU?) parallel fail silently, and how do I fix it? You can also add --gnu to $HOME/.parallel/config. |
|
May 4 |
comment |
How can I separate these two outputs using awk command-P uses Perl regular expressions. |
|
May 3 |
comment |
Gajim can't connect to gmail anymore While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. |
|
Apr 30 |
comment |
How can I prevent 'grep' from showing up in ps results? Same question on Serverfault and Superuser. |
|
Apr 18 |
comment |
rsstail Not Printing Output The command you listed works here, maybe something else is wrong? |
|
Apr 17 |
comment |
How to remove multiple blank lines from a file? This will remove all blank lines, not what the OP asked for. |
|
Apr 15 |
comment |
determine shell in script during runtime On my system this returns /, if I use NR==4 I get the path to the shells parent. |
|
Mar 12 |
comment |
why do background jobs hang depending on the size of the output? I cannot reproduce this, could you provide more information about the environment you are doing this in? |
|
Feb 28 |
comment |
Expand less-than sign when using multios and brace expand Turns out the problem was with my bindkey settings, but thank you for pushing me in the right direction, I'll award the bounty shortly. |
|
Feb 27 |
comment |
how do i suppress seds unnessary output while using option -e? @munish: \w is a GNU sed extension and is equivalent to this group [[:alnum:]_]. What version of sed are you using? |
|
Feb 27 |
comment |
how do i suppress seds unnessary output while using option -e? +1. Or the shorter ERE version: sed -r "s/\w+/'&'/g". |
|
Feb 25 |
comment |
Remove comma between the quotes only in a comma delimited file You can make it more general with conditional branching and more readable with ERE, e.g. with GNU sed: sed -r ':r; s/("[^",]+),([^",]*)/\1 \2/g; tr; s/"//g'. |
|
Feb 20 |
comment |
Regex to Cisco Interface @user32634: I'm glad it helped you. The way to say thanks around here is by up-voting useful answers and accepting the most useful answer. |
|
Feb 18 |
comment |
Why doesn't this xargs command work? @majkinetor: ah, I see what you mean now. To rename files in this manner I would rather use rename, e.g.: rename 's/\.sh//' *.sh. Try first with dry-run (-n). |
|
Feb 18 |
comment |
Why doesn't this xargs command work? @TechZilla: thanks for the corrections. @majkinetor: yes and no, you need to delay the evaluation, but I don't think you can use backticks (`). |
|
Feb 16 |
comment |
How to awk printf additional string with backslash Works here if you add another %s to the format specification. |
|
Feb 16 |
comment |
Write out without quitting in Vim? @N.N.: The abbreviated versions should be part of the answer, but I'm not so sure about the other use-cases. |
|
Feb 14 |
comment |
How to calculate average requests per seconds using awk or sed on Apache logs Two things: 1) paste is still present in your example. 2) All awk versions that I know of will threat $4>"[10/Feb/2013:16:48:00" as a string comparison and indeed your example does not work here. |