Timeline for Find + Grep Recursive Search
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 15, 2014 at 18:08 | comment | added | mikeserv | @AlexandreCassagne - you can switch accepted answers. Sorry Graeme - but i dont think i can earn any more regular points today... | |
| Apr 15, 2014 at 18:06 | comment | added | Alexandre Cassagne | The second method (update) works very well. I like it because I can actually understand it intuitively... haha thanks :) | |
| Apr 13, 2014 at 16:23 | comment | added | Alexandre Cassagne | Will try it tonight juste out of raw curiosity! Will comment back asap. Thanks ! | |
| Apr 11, 2014 at 23:30 | history | edited | mikeserv | CC BY-SA 3.0 |
added 16 characters in body; added 9 characters in body; added 7 characters in body
|
| Apr 11, 2014 at 23:29 | comment | added | mikeserv |
@AlexandreCassagne actually, this update is worth your while to try. It will work faster than comm. It's simpler to understand as well. The only thing you might have to do is use sed instead of cat oh, I'll just show it.
|
|
| Apr 11, 2014 at 23:24 | history | edited | mikeserv | CC BY-SA 3.0 |
added 62 characters in body; deleted 385 characters in body
|
| Apr 11, 2014 at 22:51 | comment | added | mikeserv |
@AlexandreCassagne if the process substitution in Graeme's answer works you could try: sed -f <(find /./path/from/root | sed 's:/./path/from/root/to/base/dir(.*):\\|\1|d:') ./path/to/list but you already have a working solution, so it might not be worth the effort.
|
|
| Apr 11, 2014 at 22:43 | comment | added | mikeserv |
@AlexandreCassagne I think its because of /dev/stdin - either that or you're right and the problem is -f - which breaks the streamed model - or s:. You can - and probably should - get gnu tools for the mac - in my opinion.
|
|
| Apr 11, 2014 at 22:40 | comment | added | Alexandre Cassagne | I upvoted because this seems like a good way to tackle this, but the code doesn't run atm; after searching a bit why it seems to say the Mac OS X (which I'm trying to run this on) doesn't have the same sed as the GNU standard. But thanks :) | |
| Apr 11, 2014 at 20:19 | history | edited | mikeserv | CC BY-SA 3.0 |
added 32 characters in body
|
| Apr 11, 2014 at 20:15 | comment | added | mikeserv | @AlexandreCassagne I put another solution up, and I'd be curious just to know if it worked. | |
| Apr 11, 2014 at 20:14 | history | edited | mikeserv | CC BY-SA 3.0 |
added 32 characters in body
|
| Apr 11, 2014 at 19:59 | history | edited | mikeserv | CC BY-SA 3.0 |
added 124 characters in body
|
| Apr 11, 2014 at 19:51 | comment | added | Alexandre Cassagne | Thanks, but I already launched the mirror. Besides – the recursive download is useful, in case the dump wasn't updated or something ! :) | |
| Apr 11, 2014 at 19:33 | history | answered | mikeserv | CC BY-SA 3.0 |