| bio | website | |
|---|---|---|
| location | Zurich, Switzerland | |
| age | ||
| visits | member for | 11 months |
| seen | 2 days ago | |
| stats | profile views | 8 |
|
May 15 |
revised |
Default Guake tab names added 4 characters in body |
|
May 15 |
answered | Default Guake tab names |
|
Jul 17 |
awarded | Commentator |
|
Jul 17 |
comment |
Run unix command precisely at very short intervals WITHOUT accumulating time lag over time Exactly the way to go. Wish I could +10 this. |
|
Jul 16 |
awarded | Investor |
|
Jul 7 |
comment |
Pipe find into grep -v @JamesYoungman: Yes, I tend to use -print0 and -0, respectively. Nice extension you have built there. Have you considered printing something to standard error whenever -exec ... \; is used? |
|
Jul 7 |
suggested | suggested edit on Pipe find into grep -v |
|
Jul 6 |
comment |
Pipe find into grep -v @JamesYoungman: "This variant of the -exec action runs the specified command on the selected files, but the command line is built by appending each selected file name at the end; the total number of invocations of the command will be much less than the number of
matched files. The command line is built in much the same way that xargs builds its command lines. Only one instance of
{} is allowed within the command. The command is executed in the starting directory." Do you mean this? |
|
Jul 6 |
comment |
Pipe find into grep -v @rush: Well, I first got in touch with find like 12 years ago and since then didn't bother looking into the details of the -exec subcommand. So, yes, to me, it's new. And I imagine to many others, too. So, please bear with me :-) |
|
Jul 6 |
comment |
Pipe find into grep -v @rush: I didn't know about this variant -- it seems that this is indeed equivalent to xargs if not better. Thank you for the hint! (And since nobody seems to know this \+ thingy -- is this new anyway? -- why don't you write a sentence or two about it?) |
|
Jul 5 |
comment |
Pipe find into grep -vxargs is much, much better than find + -exec. The former creates one grep process that gets all files as arguments, while the latter executes grep once for every file. |
|
May 26 |
revised |
Run a command that is shadowed by an alias added 114 characters in body |
|
May 25 |
comment |
Run a command that is shadowed by an alias @NotNow: Care to incorporate the other options (like "ls" or 'ls') into your answer? Would be useful to have this as reference. |
|
May 25 |
comment |
Run a command that is shadowed by an alias @Mikel: Thanks for the reference, but it doesn't seem to be that simple. Look at the code for my answer -- weird but works. |
|
May 25 |
revised |
Run a command that is shadowed by an alias added 20 characters in body; added 23 characters in body |
|
May 25 |
awarded | Editor |
|
May 25 |
comment |
Run a command that is shadowed by an alias @amyassin: Did you add the $? |
|
May 25 |
revised |
Run a command that is shadowed by an alias added 23 characters in body |
|
May 25 |
awarded | Teacher |
|
May 25 |
comment |
Run a command that is shadowed by an alias @amyassin: Both syntaxes are equivalent. (BTW, how did you get the backticks into the code formatting?) |